melvincarvalho on Nostr: Give a filter to a relay? "Messages are streamed in a for-loop when calling .req(). ...
Give a filter to a relay?
"Messages are streamed in a for-loop when calling .req(). This method returns an async generator that yields NIP-01 messages from the relay. Breaking out of the loop closes the subscription automatically."
https://nostrify.dev/relay/
"Messages are streamed in a for-loop when calling .req(). This method returns an async generator that yields NIP-01 messages from the relay. Breaking out of the loop closes the subscription automatically."
https://nostrify.dev/relay/