1 unstable release

0.1.0 May 9, 2022

#2055 in Asynchronous


Used in wta-hyper

MIT license

27KB
540 lines

what-the-async

This is an async runtime following the executor-reactor model.

Executor

Executors are incharge with polling tasks and spawning futures. They provide the contexts that let tasks be woken up correctly.

Reactor

Reactors handle side effects, like OS events or timers. Leaf futures will put their wakers onto the reactor, in order to wake up when the resources are ready

Hyper

Hyper is a runtime agnostic HTTP implementation. This means it can work with this executor/reactor combo

Dependencies

~3–14MB
~124K SLoC