Skip to main content

Module tasks

Module tasks 

Source
Expand description

Re-exported from reth_tasks.

Modules§

metrics
Task Executor Metrics
poolrayon
Additional helpers for executing tracing calls
runtime
Centralized management of async and parallel execution.
shutdown
Helper for shutdown signals

Structs§

PanickedTaskError
Error with the name of the task that panicked and an error downcasted to string, if possible.
RayonConfigrayon
Configuration for the rayon thread pools.
Runtime
A cheaply cloneable handle to the runtime resources.
RuntimeBuilder
Builder for constructing a Runtime.
RuntimeConfig
Configuration for building a Runtime.
TaskManager
Monitors critical tasks for panics and manages graceful shutdown.
TokioTaskExecutor
An TaskSpawner that uses [tokio::task::spawn] to execute tasks

Enums§

RuntimeBuildError
Error returned when RuntimeBuilder::build fails.
TokioConfig
Configuration for the tokio runtime.

Traits§

TaskSpawner
A type that can spawn tasks.
TaskSpawnerExt
TaskSpawner with extended behaviour

Functions§

spawn_os_thread
Spawns an OS thread with the current tokio runtime context propagated.
spawn_scoped_os_thread
Spawns a scoped OS thread with the current tokio runtime context propagated.

Type Aliases§

TaskExecutor
A TaskExecutor is now an alias for Runtime.