capture_quick_arc

Function capture_quick_arc 

Source
pub fn capture_quick_arc() -> Arc<EnvDescription>
Expand description

Returns a shared Arc<EnvDescription> snapshot of the current environment.

Prioritizes:

  1. An active thread-local EnvironmentScope.
  2. An active process-wide GlobalEnvironmentScope.
  3. The boot-cached environment recorded during workspace startup, if present.
  4. An unscoped thread-local epoch cache (invalidated per-operation via advance_operation_epoch() or reset_quick_env_cache()).