Crate hooch

Source

Modules§

blocker
Starting point <https://tweedegolf.nl/en/blog/114/building-an-async-runtime-with-mio>
executor
This module defines a basic executor for managing asynchronous tasks. The executor utilizes a ready queue for receiving tasks, and a panic channel to signal any panics that may occur while polling tasks.
fs
net
pool
reactor
This module defines a Reactor struct that manages asynchronous events and allows tasks to register, await, and wake based on those events. The Reactor uses a mio::Poll instance to handle I/O events and leverages Wakers to signal readiness to the executor.
runtime
This module defines a custom asynchronous Runtime with a RuntimeBuilder for configuration and a Handle for managing tasks. The runtime supports multi-threaded task execution and uses a round-robin dispatch mechanism to balance load across worker threads.
select
spawner
This module defines a Task struct for managing asynchronous task execution, a Spawner for task spawning, and a JoinHandle for awaiting task completion.
sync
task
time
utils

Attribute Macros§

hooch_main