Crate tokio_two_join_set

Source
Expand description

Provides the TwoJoinSet useful for tasks that are constantly rerun to get the latest result but also need to complete from time to time to provide intermediate results. Please see the documentation for TwoJoinSet for more details.

Structsยง

TwoJoinSet
A collection of at most two tasks spawned on a Tokio runtime; cancels the second running task when a third task is spawned.