A process-wide libuv event loop for library use.
get
- Race-free helper to get access to a global task where a libuv loop is running.spawn_loop
uv_global_loop::rustrt
get
fn get() -> IoTask
Race-free helper to get access to a global task where a libuv loop is running.
Use uv::hl::interact
to do operations against the global loop that this function returns.
hl::high_level_loop
that encapsulates communication with the global loop.spawn_loop
fn spawn_loop() -> IoTask