SignalManager.hasSignalWatcher

bool hasSignalWatcher(Slot)(const(Slot)[] slots, Signal signal) static @safe nothrow @nogc

Check if a specific signal has an active watcher in the given slots.

Parameters

slotsArray of watcher slots to search.
signalSignal to check for.

Returns

true if the signal has an enabled watcher, false otherwise.