Function set_thread_scope_stack

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub fn set_thread_scope_stack(handle: ScopeStackHandle)

Install an explicit scope stack for the current thread.

This replaces the thread-local scope stack handle and marks the current thread as explicitly scope-aware for later propagation checks.

Parameters

  • handle: Scope stack handle to install for the current thread.

Returns

().

Notes

Use this when propagating an existing scope stack into worker threads.