Token.invalid with errno set.Token registerIo(Handle handle, IoInterest interest, IoWatcherCallback callback, WatcherFlags extraFlags = WatcherFlags.none) @trusted nothrowRegister an I/O watcher with the selected backend.
handle | Native handle to watch. |
interest | Requested readiness mask. |
callback | Callback invoked for matching readiness events. |
Token.invalid with errno set.