Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions datafusion/common-runtime/src/join_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ use std::task::{Context, Poll};
use tokio::runtime::Handle;
use tokio::task::{AbortHandle, Id, JoinError, LocalSet};

/// A wrapper around Tokio's JoinSet that forwards all API calls while optionally
/// A wrapper around [Tokio's `JoinSet`] that forwards all API calls while optionally
/// instrumenting spawned tasks and blocking closures with custom tracing behavior.
/// If no tracer is injected via `trace_utils::set_tracer`, tasks and closures are executed
/// If no tracer is injected via [`set_join_set_tracer`], tasks and closures are executed
/// without any instrumentation.
///
/// [Tokio's `JoinSet`]: tokio::task::JoinSet
/// [`set_join_set_tracer`]: crate::trace_utils::set_join_set_tracer
#[derive(Debug)]
pub struct JoinSet<T> {
inner: tokio::task::JoinSet<T>,
Expand Down
Loading