The name of the event to subscribe to. Must be a key of NetworkEvents.
Event for the event type that runs the callback provided when the event is emitted
Subscribe to a network event with an explicit payload type.
Unique network event type for coordinating between connections
Event for the event type that runs the callback provided when the event is emitted
8 June 2026. Use the typed signature: declare the event in NetworkEvents and
call getNetworkEvent('your.event.name') without an explicit type parameter.
Subscribe to a typed network event. The payload type is inferred from the event's declaration in NetworkEvents.