select-next-any 0.1.0

Alternative to futures::StreamExt::select_next_some that returns the None variant
Documentation
  • Coverage
  • 50%
    2 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 7.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.8 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • onesignal-deploy

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).