sapling/eden/scm/lib/streams
Meyer Jacobs 2f0d2c4105 util: introduce a select_drop stream combinator
Summary: Introduce a new stream combinator, `select_drop`, based on `futures::stream::select`, which performs the same function except dropping the contained streams when they terminate, rather than when the combined stream is exhausted. This prevents a deadlock in cases where one stream will not terminate until the other terminates.

Reviewed By: DurhamG

Differential Revision: D26139816

fbshipit-source-id: d28da32244a215741476e1c3882154ea9e3116a5
2021-02-08 10:39:32 -08:00
..
src util: introduce a select_drop stream combinator 2021-02-08 10:39:32 -08:00
Cargo.toml util: introduce a select_drop stream combinator 2021-02-08 10:39:32 -08:00