Readonly
senderThe sender which owns the signal.
Connect a slot to the signal.
The slot to invoke when the signal is emitted.
Optional
thisArg: unknownThe this
context for the slot. If provided,
this must be a non-primitive object.
true
if the connection succeeds, false
otherwise.
Disconnect a slot from the signal.
The slot to disconnect from the signal.
Optional
thisArg: unknownThe this
context for the slot. If provided,
this must be a non-primitive object.
true
if the connection is removed, false
otherwise.
Emit the signal and invoke the connected slots.
The args to pass to the connected slots.
Slots are invoked synchronously in connection order.
Exceptions thrown by connected slots will be caught and logged.
Generated using TypeDoc
A concrete implementation of
ISignal
.Example