checkWakeupEvents
fn
void checkWakeupEvents(Slot, DispatchFn, RemoveFn, ErrorFn)(
scope Slot[] slots, scope DispatchFn dispatchFn,
scope RemoveFn removeFn, scope ErrorFn errorFn) @trusted nothrowCheck for pending wakeup events and dispatch callbacks.
Scans all WAKEUP watcher slots. For each slot with a signalled wakeup handle, invokes the watcher callback.
Parameters
slots | Watcher slot array to scan. |
dispatchFn | Callback: (ref Slot, Token) => void. |
removeFn | Callback: (uint index, ref Slot) => void. |
errorFn | Callback: (Token, Exception) => void. |