Alex Gleason 🐍 on Nostr: If you break out of the for-loop it automatically sends a CLOSE message to the relay, ...
If you break out of the for-loop it automatically sends a CLOSE message to the relay, ending the subscription.
Published at
2024-09-05 06:29:48Event JSON
{
"id": "1fa7296aa0912c18ff89b8d895499c26941e25fc8af232af2eb25ea1b288cd70",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1725517788,
"kind": 1,
"tags": [
[
"e",
"60b5ad965110d275c92bd5a8c944211edc1e51a0583055e320711e9c89d96a08",
"wss://gleasonator.dev/relay",
"root"
],
[
"e",
"60b5ad965110d275c92bd5a8c944211edc1e51a0583055e320711e9c89d96a08",
"wss://gleasonator.dev/relay",
"reply"
],
[
"p",
"ff538df85b8d3e503f5b9f416a12cb5522f27e6edd247374964fc214c16cd309"
]
],
"content": "If you break out of the for-loop it automatically sends a CLOSE message to the relay, ending the subscription.",
"sig": "b0f3a3a97a3b10e617163f6ce81eab8d3e2a85ca7e85d5c8db776e5953f27377eed212c3bbfbca34288935da74f2fc2b199ca2919505efee4cf908714422ded3"
}