Crate
reth_tasks
reth_
tasks
1.3.1
All Items
Sections
Feature Flags
Crate Items
Modules
Structs
Traits
Crates
ef_tests
op_reth
reth
reth_basic_payload_builder
reth_bench
reth_chain_state
reth_chainspec
reth_cli
reth_cli_commands
reth_cli_runner
reth_cli_util
reth_codecs
reth_codecs_derive
reth_config
reth_consensus
reth_consensus_common
reth_consensus_debug_client
reth_db
reth_db_api
reth_db_common
reth_db_models
reth_discv4
reth_discv5
reth_dns_discovery
reth_downloaders
reth_e2e_test_utils
reth_ecies
reth_engine_local
reth_engine_primitives
reth_engine_service
reth_engine_tree
reth_engine_util
reth_errors
reth_eth_wire
reth_eth_wire_types
reth_ethereum
reth_ethereum_cli
reth_ethereum_consensus
reth_ethereum_engine_primitives
reth_ethereum_forks
reth_ethereum_payload_builder
reth_ethereum_primitives
reth_etl
reth_evm
reth_evm_ethereum
reth_execution_errors
reth_execution_types
reth_exex
reth_exex_test_utils
reth_exex_types
reth_fs_util
reth_invalid_block_hooks
reth_ipc
reth_libmdbx
reth_mdbx_sys
reth_metrics
reth_net_banlist
reth_net_nat
reth_network
reth_network_api
reth_network_p2p
reth_network_peers
reth_network_types
reth_nippy_jar
reth_node_api
reth_node_builder
reth_node_core
reth_node_ethereum
reth_node_events
reth_node_metrics
reth_node_types
reth_op
reth_optimism_chain_registry
reth_optimism_chainspec
reth_optimism_cli
reth_optimism_consensus
reth_optimism_evm
reth_optimism_forks
reth_optimism_node
reth_optimism_payload_builder
reth_optimism_primitives
reth_optimism_rpc
reth_optimism_storage
reth_optimism_txpool
reth_payload_builder
reth_payload_builder_primitives
reth_payload_primitives
reth_payload_util
reth_payload_validator
reth_primitives
reth_primitives_traits
reth_provider
reth_prune
reth_prune_types
reth_ress_protocol
reth_ress_provider
reth_revm
reth_rpc
reth_rpc_api
reth_rpc_api_testing_util
reth_rpc_builder
reth_rpc_engine_api
reth_rpc_eth_api
reth_rpc_eth_types
reth_rpc_layer
reth_rpc_server_types
reth_rpc_types_compat
reth_stages
reth_stages_api
reth_stages_types
reth_static_file
reth_static_file_types
reth_storage_api
reth_storage_errors
reth_tasks
reth_testing_utils
reth_tokio_util
reth_tracing
reth_transaction_pool
reth_trie
reth_trie_common
reth_trie_db
reth_trie_parallel
reth_trie_sparse
reth_zstd_compressors
Crate
reth_tasks
Copy item path
Settings
Help
Summary
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