SimpleAwait

Deterministic, fixed-memory cooperative coroutine library using native C++20 coroutines.

Author
Noel Anderson
Website
https://github.com/noelanderson/SimpleAwait
Category
Timing
License
MIT
Library Type
Contributed
Architectures
rp2040, esp32

SimpleAwait provides cooperative concurrency for Arduino-class microcontrollers (RP2040, RP2350, ESP32) using standard C++20 coroutines with a statically allocated scheduler and coroutine frame pool. No RTOS, no heap allocation for coroutine frames, and deterministic failure behavior. It provides lazy Tasks, a fair cooperative scheduler, yield/delay timers, parent/child await, scheduler-local Event and bounded Queue, an ISR-safe ThreadSafeFlag bridge, and waitUntil.

Downloads

Filename Release Date File Size
SimpleAwait-1.0.1.zip 2026-09-23 179.30 KiB
SimpleAwait-1.0.0.zip 2026-09-22 178.27 KiB