Binds a new handler function to this signal that will be called for each dispatch.
The handler function to bind.
Optional this
argument to use when calling this handler
Detaches a binding from this signal so that it is no longer called.
The binding to detach.
Detaches all bindings.
Dispatch an event to all handlers.
If a filter was set, only if it returns true
will the event get dispatched.
The arguments to pass to the filter and handlers.
True if the event was dispatched, false otherwise.
Sets the filter function to be called on each dispatch. This function takes the same
parameters as a handler, but must return a boolean. Only when this function returns
true
will an event dispatch actually call bound handlers.
The function to use as the filter.
Gathers a list of all the handlers currently bound to this signal.
Returns true if the given binding is owned by this signal.
The binding to check.
Returns true if this signal has any bound handlers.
Binds a new handler function to this signal that will only be called once on the next dispatch.
The handler function to bind.
Optional this
argument to use when calling this handler.
Sets up a link between the passed signals and this one such that when the passed signal is dispatched, this signal is also dispatched.
The signals to proxy.
Generated using TypeDoc
A signal is a dispatcher that can bind functions (handlers) to dispatched events.