nbd-wtf / nostr-tools

Tools for developing Nostr clients.
The Unlicense
685 stars 188 forks source link

methods for abstract pool #419

Closed antonioconselheiro closed 1 month ago

antonioconselheiro commented 1 month ago

I am suggesting the inclusion of two methods within the abstract pool.

listConnectionStatus to return a snapshot of all relays connection status in the pool. destroy method, to close all connections in the pool (close method requires the relay list).

I have included then in my project abstract pool, but I wondered if you could consider these features as useful and interesting to be centralized in this library.