embassy/embassy-futures/README.md

570 B

embassy-futures

Utilities for working with futures:

  • select - waiting for one out of two futures to complete.
  • select3 - waiting for one out of three futures to complete.
  • select4 - waiting for one out of four futures to complete.
  • select_array - waiting for one future in an array of futures to complete.
  • select_slice - waiting for one future in a slice of futures to complete.
  • yield_now - yielding the current task.