dispatch
Dispatch events asynchronously.
asych.dispatch.call(target, event, [args])
Dispatches event on target in a task queue scheduled to
run immediately after the current
event loop.
If async is called, this will replace the default dispatch.
Parameters
- target
{*}:The object to dispatch the event on.
- event
{String|Object}:The event to dispatch.
- args
{Array}:Additional arguments to pass to event handlers
Returns
{Object}:
event The resulting event object