Skip to main content

nemo_flow_scope_stack_active

Function nemo_flow_scope_stack_active 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nemo_flow_scope_stack_active() -> bool
Expand description

Returns whether the current execution context has an explicitly-initialized scope stack.

Returns true if nemo_flow_scope_stack_set_thread has been called on the current OS thread (or the caller is inside a tokio task-local scope). Returns false when only the auto-created default is present.

ยงNotes

This helper does not allocate or install a scope stack. It only reports whether one is already explicit in the current execution context.