Add "closed" and "shutting_down" events

This commit is contained in:
mhchia
2019-09-12 17:07:41 +08:00
parent 7cf0495f37
commit 5653b3f604
3 changed files with 45 additions and 9 deletions

View File

@ -5,7 +5,11 @@ class MuxedConnError(BaseLibp2pError):
pass
class MuxedConnShutdown(MuxedConnError):
class MuxedConnShuttingDown(MuxedConnError):
pass
class MuxedConnClosed(MuxedConnError):
pass