2 unstable releases

0.2.0 Dec 15, 2023
0.1.0 Jan 19, 2023

#2157 in Asynchronous


Used in switchboard

Apache-2.0

6KB
115 lines

Provides a Waker trait to allow using the Waker from mio or a provided Waker that uses eventfd directly (supported only on linux) interchangably.

This is particularly useful in cases where some struct (such as a queue) may be used with either mio-based event loops, or with io_uring. The Waker provided by mio is not directly usable in io_uring based code due to the fact that it must be registered to an event loop (such as epoll).

Dependencies

~0.4–10MB
~53K SLoC