Module tokio::task::join_set

source ·
Available on crate feature rt only.
Expand description

A collection of tasks spawned on a Tokio runtime.

This module provides the JoinSet type, a collection which stores a set of spawned tasks and allows asynchronously awaiting the output of those tasks as they complete. See the documentation for the JoinSet type for details.

Structs

  • Buildertokio_unstable and tracing
    A variant of task::Builder that spawns tasks on a JoinSet rather than on the current default runtime.
  • A collection of tasks spawned on a Tokio runtime.