Module futures_util::stream::select_with_strategy

source ยท

Structsยง

Enumsยง

Functionsยง

  • poll_inner ๐Ÿ”’
  • poll_side ๐Ÿ”’
  • This function will attempt to pull items from both streams. You provide a closure to tell SelectWithStrategy which stream to poll. The closure can store state on SelectWithStrategy to which it will receive a &mut on every invocation. This allows basing the strategy on prior choices.