true if all enabled watchers are phase watchers, false otherwise.bool hasOnlyPhaseWatchers(Slot)(scope const(Slot)[] slots) const @safe nothrow @nogcCheck if only phase watchers exist (no I/O, timers, signals, or DNS).
Returns true when all enabled watchers are PREPARE, CHECK, or IDLE. This is used to determine whether the loop can exit when no external events are registered.
slots | Watcher slot array to inspect. |
true if all enabled watchers are phase watchers, false otherwise.