reth::rpc::api::servers::eth::helpers

Module blocking_task

Source
Expand description

Spawns a blocking task. CPU heavy tasks are executed with the rayon library. IO heavy tasks are executed on the tokio runtime.

Traitsยง