Async once-event
Async event iterator
Queue function fn
execution.
Call is added to the current phase check loop.
Waits x
ms before queueing function fn
execution.
Call is added to the next phase timer loop.
Execute function on next tick/phase of event loop. E.g., if the current phase of the event loop is the timer phase, the function will be queued prior to the callback phase.
1 2 3 4 5 6 7 8 9 | once(emitter, event)
on(emitter, event)
set_immediate(fn, ...)
set_timeout(fn, ms, ...)
next_tick(fn, ...)
|
emitter |
an EventEmitter object |
event |
character vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.