Module: Executor

Executor

An Executor based on a single setInterval that is triggered every 50ms to dequeue expired tasks. When 0ms tasks are enqueued a postMessage call is used to trigger an immediate execution; on nodejs the process.nextTick method is used in place of the postMessage; on older browser where postMessage is not supported no action is taken.

Extends

  • ExecutorInterface