Skip to main content

blocking_inline

Function blocking_inline 

Source
pub fn blocking_inline() -> bool
Expand description

The blocking pool (docs/async.md): spawn_blocking runs a job on a worker thread and resolves on the awaiting side; std-only, so it lives in day-async and is re-exported here. Whether spawn_blocking runs jobs inline: always on the web, else per set_blocking_inline.