Module cfx_rpc_utils::helpers::blocking_tasks
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§
- Executes code on a blocking thread.