countPhaseWatchers

fnptrdiff_t countPhaseWatchers(ref const EventLoop loop, WatcherKind kind) pure @safe nothrow @nogc

Count enabled phase watchers of the given kind.

Parameters

loopHost event loop.
kindPhase watcher kind to count.

Returns

Number of enabled phase watchers.