Add notify function to network interface
This commit is contained in:
parent
204c103d92
commit
1701fba42e
@ -41,3 +41,9 @@ class INetwork(ABC):
|
||||
:param *args: one or many multiaddrs to start listening on
|
||||
:return: True if at least one success
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def notify(self, notifee):
|
||||
"""
|
||||
:param notifee: object implementing Notifee interface
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user