Crate await_tree

source ·
Expand description

Instrument await-tree for actor-based applications.

Structs§

Enums§

Traits§

  • Attach spans to a future to be traced in the await-tree.
  • A key that can be used to identify a task and its await-tree in the Registry.

Functions§

  • Get the await-tree of current task. Returns None if we’re not instrumented.
  • Spawns a new asynchronous task instrumented with the given root Span, returning a JoinHandle for it.
  • Spawns a new asynchronous task instrumented with the given root Span, returning a JoinHandle for it.