API Reference / @gtkx/runtime / disconnectSignal
Variable: disconnectSignal
constdisconnectSignal: (instance,handlerId) =>void
Defined in: packages/runtime/dist/signal.d.ts:35
Disconnects the handler an instance connected under the given id, and forgets the connection.
Parameters
instance
object
Emitter the handler was connected to.
handlerId
number
Id connectSignal returned for the handler.
Returns
void