Function subspace_farmer::utils::tokio_rayon_spawn_handler
source ยท pub fn tokio_rayon_spawn_handler() -> impl FnMut(ThreadBuilder) -> Result<()>
Expand description
This function is supposed to be used with [rayon::ThreadPoolBuilder::spawn_handler()
] to
inherit current tokio runtime.