hyperdiscovery icon indicating copy to clipboard operation
hyperdiscovery copied to clipboard

leave vs close connections

Open joehand opened this issue 5 years ago • 1 comments

Closing the connection isn't the same behavior as discovery swarm. I think it might be nice to keep the api consistent, there are use cases where you want to stop announcing but still keep connections open. 'close' or "destroy" can be the thing that kills the connections as well as stops announcing.

We could use close/destroy but would need to have an API for destroing single feed vs the whole swarm.

joehand avatar May 22 '19 23:05 joehand