Function of network
network.on_instance
Called when an instance starts or changes.
network.on_instance(handler: (instance: NetworkInstance) -> ()) → Connection
Parameters
handler(instance: NetworkInstance) -> ()Returns
ConnectionFunction of network
Called when an instance starts or changes.
network.on_instance(handler: (instance: NetworkInstance) -> ()) → Connection
handler(instance: NetworkInstance) -> ()Connection