License
Boost Software License, Version 1.0
IOCP completion dispatch for the Windows event loop.
This module provides dispatch helpers that route IOCP completion events and watcher callbacks to the appropriate handler based on watcher kind.
bool dispatchOsEvent(Slot, DispatchIoFn)(OsEvent osEvent,
scope Slot[] slots, scope DispatchIoFn dispatchIo) @trusted nothrowRoute an OS event to the appropriate watcher dispatch function.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.bool dispatchWatcher(Slot, DispatchFn, RemoveFn, ErrorFn)(
Token token,
scope Slot[] slots,
scope DispatchFn dispatchFn,
scope RemoveFn removeFn,
scope ErrorFn errorFn) @trusted nothrowDispatch a generic (non-I/O) watcher callback.