EventLoop.dropOldestWatcher

bool dropOldestWatcher(LimitKind kind) @trusted nothrow

Internal: Remove the oldest watcher matching a limit kind.

Finds the slot with the lowest registrationSeq whose kind is compatible with the given LimitKind and removes it.

Parameters

kindThe limit category to match against.

Returns

true if a watcher was found and removed.