Bind an handler callback to the event.
CAUTION: a handler that is bound multiple times will be called multiple times, too!
Handler callback.
Optional
context: ContextOptional context that is passed to the callback.
Remove a previously bound handler. Both callback and context must be identical for the handler to be removed.
CAUTION: this method will only remove one callback each call, even if a handler / callback combo is bound multiple times.
Handler callback.
Optional
context: ContextOptional callback context.
Generated using TypeDoc
A CloudpilotEmu event.