reth_
tasks
1.1.4
All Items
Sections
Feature Flags
Crate Items
Modules
Structs
Traits
Crate
reth_tasks
Copy item path
Source
Expand description
Reth task management.
§
Feature Flags
rayon
: Enable rayon thread pool for blocking tasks.
Modules
§
metrics
Task Executor Metrics
pool
rayon
Additional helpers for executing tracing calls
shutdown
Helper for shutdown signals
Structs
§
Panicked
Task
Error
Error with the name of the task that panicked and an error downcasted to string, if possible.
Task
Executor
A type that can spawn new tokio tasks
Task
Manager
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.
Tokio
Task
Executor
An
TaskSpawner
that uses [
tokio::task::spawn
] to execute tasks
Traits
§
Task
Spawner
A type that can spawn tasks.
Task
Spawner
Ext
TaskSpawner
with extended behaviour