Expand description
Task scheduler for the async host runtime.
Manages spawned async tasks: stores their callables, tracks completion, and executes them (synchronously for now) when the VM suspends on an await.
The initial design runs tasks inline (synchronous execution at await-time).
True concurrent execution via Tokio can be layered on later by changing
resolve_task to spawn on the Tokio runtime.
Structs§
- Task
Scheduler - Scheduler that tracks spawned async tasks by their future ID.
Enums§
- Task
Status - Completion status of a spawned task.