API Reference / @gtkx/runtime / offSignal
Function: offSignal()
offSignal(
instance,signal,handler):void
Defined in: packages/runtime/src/listeners.ts:129
Disconnects a handler previously connected with onSignal or onceSignal. Does nothing if the handler is not currently connected.
Parameters
instance
object
The object the handler was connected to.
signal
string
The signal name the handler was connected to.
handler
The handler to disconnect.
Returns
void