Expand description
A custom async runtime implementation demonstrating the core components of an async executor.
This crate provides a lightweight executor for running async tasks, with support for spawning futures and managing their lifecycle. It consists of:
Re-exports§
Modules§
- executor
- The task executor for driving async tasks to completion.
- net
- Async TCP networking primitives built on top of the custom runtime.
- reactor
- Event-driven I/O reactor.
- task
- Task management and lifecycle tracking.
- waker
- Waker implementations for task scheduling and notification.
Structs§
- Runtime
- The main async runtime combining executor and reactor.
Functions§
- spawn
- Spawns a future from within an active runtime context.
Attribute Macros§
- main
- Procedural macro attribute to set up an async main function with
yot_runruntime.