embassy-futures

Crates

git

Versions

default

Flavors

Crate embassy_futures

Source
Expand description

§embassy-futures

An Embassy project.

Utilities for working with futures, compatible with no_std and not using alloc. Optimized for code size, ideal for embedded systems.

§Interoperability

Futures from this crate can run on any executor.

Modules§

join
Wait for multiple futures to complete.
select
Wait for the first of several futures to complete.

Functions§

block_on
Run a future to completion using a busy loop.
poll_once
Poll a future once.
yield_now
Yield from the current task once, allowing other tasks to run.