true if a watcher was found and removed.dropOldestWatcher
fn
bool dropOldestWatcher(Slot, RemoveFn)(LimitKind kind, scope Slot[] slots,
scope RemoveFn removeFn) @trusted nothrowDrop the oldest watcher matching a limit kind.
Scans all slots for the oldest registered watcher matching the limit category and removes it via the provided callback.
Parameters
kind | Limit category to match. |
slots | Watcher slot array to scan. |
removeFn | Callback to remove a slot: (uint index, ref Slot) => void. |