Function of network
network.on_instance_change
Called when an instance's state, open, status or meta changes.
network.on_instance_change(handler: (instance: NetworkInstance) -> ()) → Connection
Parameters
handler(instance: NetworkInstance) -> ()Returns
Connection