Skip to main content

capture_eval_context

Function capture_eval_context 

Source
pub fn capture_eval_context() -> Option<(Arc<GlobalEnv>, Arc<str>)>
Expand description

Capture the current eval context so it can be installed on another thread.

Returns None if there is no active context.