Crates.io | what-the-async |
lib.rs | what-the-async |
version | 0.1.0 |
source | src |
created_at | 2022-05-09 08:29:18.847553 |
updated_at | 2022-05-09 08:29:18.847553 |
description | A simple runtime |
homepage | |
repository | https://github.com/conradludgate/what-the-async |
max_upload_size | |
id | 583094 |
size | 21,102 |
This is an async runtime following the executor-reactor model.
Executors are incharge with polling tasks and spawning futures. They provide the contexts that let tasks be woken up correctly.
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 is a runtime agnostic HTTP implementation. This means it can work with this executor/reactor combo