emitNetworkEvent

fun emitNetworkEvent(event: <Error class: unknown class>, connection: <Error class: unknown class>)(source)

Emits the "network-event" signal. See onNetworkEvent.

Parameters

event

the network event

connection

the current state of the network connection