Crate ato

Source
Expand description

ATO: A simple task async runtime for no_std environments.

This library provides a basic task spawner and runner, allowing you to spawn futures and run them to completion in a round-robin fashion.

It is designed to be used in environments without the standard library (no_std), making it suitable for embedded systems or other constrained environments.

§Features

  • Task spawner that can queue multiple futures.
  • Round-robin scheduling of tasks.
  • Simple sleep functionality using core::time::Duration.

Examples can be found in the examples folder, demonstrating how to use the Spawner and sleep functionality.

Structs§

DurationSleep
Spawner
A simple task spawner and runner. It can queue multiple futures (tasks) and run them to completion.

Enums§

Error

Functions§

sleep
Creates a future that will “sleep” for the specified Duration.