Crate reth_tasks Copy item path Source Expand description Reth task management.
§ Feature Flags
rayon
: Enable rayon thread pool for blocking tasks.
metrics Task Executor Metrics pool rayon
Additional helpers for executing tracing calls shutdown Helper for shutdown signals NoCurrentTaskExecutorError Error returned by try_current
when no task executor has been configured. PanickedTaskError Error with the name of the task that panicked and an error downcasted to string, if possible. TaskExecutor A type that can spawn new tokio tasks TaskManager 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. TokioTaskExecutor An TaskSpawner
that uses [tokio::task::spawn
] to execute tasks TaskSpawner A type that can spawn tasks. TaskSpawnerExt TaskSpawner
with extended behaviour