dispatchPhase

fnptrdiff_t dispatchPhase(ref EventLoop loop, WatcherKind kind) @trusted nothrow

Dispatch all enabled watchers of the given phase kind.

Parameters

loopHost event loop.
kindPhase watcher kind (PREPARE, CHECK, or IDLE).

Returns

Number of callbacks invoked.