ckb_async_runtime

Function new_global_runtime

Source
pub fn new_global_runtime(
    worker_num: Option<usize>,
) -> (Handle, Receiver<()>, Runtime)
Expand description

Create new threaded_scheduler tokio Runtime, return Runtime