1 unstable release
0.1.0 | Jan 29, 2020 |
---|
#1109 in Asynchronous
4KB
Stream combinator that can be used in the futures::select! macro. It is similar to futures::StreamExt::select_next_some, but instead of only resolving the Some variants, this one will return Option. This is useful when you want to do some action after one stream completes. The bulk of this code was copied from futures::stream::SelectNextSome (Copyright (c) 2016 Alex Crichton, Copyright (c) 2017 The Tokio Authors).
Dependencies
~1MB
~16K SLoC