checkWakeupEvents

fnvoid checkWakeupEvents(Slot, DispatchFn, RemoveFn, ErrorFn)( scope Slot[] slots, scope DispatchFn dispatchFn, scope RemoveFn removeFn, scope ErrorFn errorFn) @trusted nothrow

Check 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

slotsWatcher slot array to scan.
dispatchFnCallback: (ref Slot, Token) => void.
removeFnCallback: (uint index, ref Slot) => void.
errorFnCallback: (Token, Exception) => void.