Interface SignalConnection

Represents a connection of a callback to a signal.

interface SignalConnection {
    enabled: boolean;
    disconnect(): boolean;
}

Properties

Methods

Properties

enabled: boolean

If set to false it prevents the handler from receiving the signals events.

Methods

  • Stop this connection from receiving further events permanently.

    Returns boolean

    false if the connection has already been severed.

Generated using TypeDoc