Crate kumo_server_runtime

Source

Structs§

Runtime

Statics§

MAIN_RUNTIME
RUNTIME

Functions§

assign_main_runtime
available_parallelism
get_main_runtime
get_named_runtime
rt_spawn
Schedule func to run in the main runtime pool, which is named “localset” for legacy reasons.
set_localset_threads
spawn
Spawn a future as a task with a name. The task is spawned into the current tokio runtime.
spawn_blocking
Run a blocking function in the worker thread pool associated with the current tokio runtime.
spawn_blocking_on
Run a blocking function in the worker thread pool associated with the provided tokio runtime.