Function create_scope_stack

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub fn create_scope_stack() -> ScopeStackHandle

Create a new scope stack handle with an implicit root scope.

The returned handle wraps a freshly initialized ScopeStack inside an Arc and RwLock so it can be shared across async tasks or threads.

Returns

A new ScopeStackHandle containing exactly one implicit root scope.

Notes

The root scope is always present and cannot be removed.