true if the callback was invoked.dispatchIo
fn
bool dispatchIo(Slot, DispatchFn, RemoveFn, ErrorFn)(
Token token, IoReady ready,
scope Slot[] slots,
scope DispatchFn dispatchFn,
scope RemoveFn removeFn,
scope ErrorFn errorFn) @trusted nothrowDispatch an I/O watcher callback.
Validates the watcher is an enabled I/O watcher, invokes its callback, and handles pending removal.
Parameters
token | Token of the watcher. |
ready | I/O readiness flags. |
slots | Watcher slot array. |
dispatchFn | Callback: (ref Slot, Token, IoReady) => void. |
removeFn | Callback: (uint index) => void. |
errorFn | Callback: (Token, Exception) => void. |