embassy/embassy-futures/README.md

11 lines
570 B
Markdown

# embassy-futures
Utilities for working with futures:
- [`select`](select::select) - waiting for one out of two futures to complete.
- [`select3`](select::select3) - waiting for one out of three futures to complete.
- [`select4`](select::select4) - waiting for one out of four futures to complete.
- [`select_array`](select::select_array) - waiting for one future in an array of futures to complete.
- [`select_slice`](select::select_slice) - waiting for one future in a slice of futures to complete.
- [`yield_now`](yield_now::yield_now) - yielding the current task.