Static methods
run()
Starts the relay in the current JS context.
Example
Parameters
The run()
method accepts one parameter which is an array of events to forward:
events
EventType[]
requiredThe events
property specifies what events to forward to other listeners of
the relay.