dispatchPhase
Dispatch all enabled watchers of the given phase kind.
Parameters
loop | Host event loop. |
kind | Phase watcher kind (PREPARE, CHECK, or IDLE). |
Returns
Number of callbacks invoked.
Dispatch all enabled watchers of the given phase kind.
loop | Host event loop. |
kind | Phase watcher kind (PREPARE, CHECK, or IDLE). |