Expand description
re-export of datafusion_common_runtime
crate
Modules§
Structs§
- JoinSet
- 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 without any instrumentation. - Spawned
Task - Helper that provides a simple API to spawn a single task and join it.
Provides guarantees of aborting on
Drop
to keep it cancel-safe. Note that if the task was spawned withspawn_blocking
, it will only be aborted if it hasn’t started yet.
Traits§
- Join
SetTracer - A trait for injecting instrumentation into either asynchronous futures or blocking closures at runtime.
Functions§
- set_
join_ set_ tracer - Set the custom tracer for both futures and blocking closures.