Closed Satswalker closed 1 year ago
Root cause is fairly obvious. Messages sent to relays are async operations whose Futures complete upon the relay acknowledging the message was processed. nostr_dart uses Command Results and EOSE notices as this acknowledgement however neither of these messages are returned in response to a "CLOSE" message which is sent by Nostr.pool.unsubscribe
.
Steps to reproduce:
Nostr.pool.subscribe
and await for its returned Future to complete.Nostr.pool.unsubscribe
.Observed in v0.6.1