Skip to main content

current_is_async

Function current_is_async 

Source
pub fn current_is_async() -> bool
Expand description

True when the innermost active eval context is inside an ^:async function body. Returns false when there is no active context.