true if the event was dispatched, false if unhandled or invalid.bool dispatchOsEvent(Slot, DispatchIoFn)(OsEvent osEvent,
scope Slot[] slots, scope DispatchIoFn dispatchIo) @trusted nothrowRoute an OS event to the appropriate watcher dispatch function.
Unpacks the token from the OS event user data and dispatches to the correct handler based on the watcher kind. Only I/O watchers are dispatched here; other kinds are returned as unhandled.
osEvent | Native OS event from the backend poller. |
slots | Watcher slot array. |
dispatchIo | Callback for I/O dispatch: (Token, IoReady) => bool. |
true if the event was dispatched, false if unhandled or invalid.