Crate reth_tasks

Source
Expand description

Reth task management.

§Feature Flags

  • rayon: Enable rayon thread pool for blocking tasks.

Modules§

  • Task Executor Metrics
  • poolrayon
    Additional helpers for executing tracing calls
  • Helper for shutdown signals

Structs§

  • Error with the name of the task that panicked and an error downcasted to string, if possible.
  • A type that can spawn new tokio tasks
  • Many reth components require to spawn tasks for long-running jobs. For example discovery spawns tasks to handle egress and ingress of udp traffic or network that spawns session tasks that handle the traffic to and from a peer.
  • An TaskSpawner that uses [tokio::task::spawn] to execute tasks

Traits§