EventLoop.countPhaseWatchers

ptrdiff_t countPhaseWatchers(WatcherKind kind) const pure @safe nothrow @nogc

Count enabled phase watchers of the given kind.

Parameters

kindWatcher kind to count (e.g., IDLE, PREPARE, CHECK).

Returns

Number of enabled watchers of the specified kind.