aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-05 17:20:16 +0000
committerGitHub <[email protected]>2022-04-05 17:20:16 +0000
commitf5cf465417741ede43e25d30ae3e09d31398023e (patch)
treeac38811cdc04d9f340d2b22fe2a00418cf9bc958 /examples
parentb0de865e0b4bf5cb6782d61d668125850ceb8e3b (diff)
parente42295c4c51a35132595a7579de8467a38bc8171 (diff)
Merge #693
693: no_std version of `futures::future::select_all` r=Dirbaio a=alexmoon Here's a no-std compatible version of `select_all`. It's not quite as useful as the original because it requires an array of Unpin futures to be pre-constructed instead of taking an iterator (which could return `Pin<Box<_>>` in `std`). And, of course, you don't get a `Vec` of the unfinished futures returned at completion. Still, I think it's cleaner than a long cons of select calls. I'll leave it up to you whether this is sufficiently general purpose to include in Embassy or not. Co-authored-by: alexmoon <[email protected]>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions