Closed perguth closed 8 years ago
maybe we should rename the connection event to connect and have the close event be disconnect? i think swarm.on('close', ...) should be fired when the actual swarm closes.
connection
connect
close
disconnect
swarm.on('close', ...)
I like the more specific disconnect. Harmonizing the terms is certainly good too.
Awesome. Released in 2.0.0
maybe we should rename the
connection
event toconnect
and have theclose
event bedisconnect
? i thinkswarm.on('close', ...)
should be fired when the actual swarm closes.