embassy/embassy-futures/README.md

11 lines
570 B
Markdown
Raw Normal View History

2022-08-23 12:05:17 +00:00
# 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.
2022-08-23 12:05:17 +00:00
- [`yield_now`](yield_now::yield_now) - yielding the current task.