Skip to main content

Module scope

Module scope 

Source
Expand description

Scope stack lifecycle and mark-event entry points.

Structs§

CreateScopeHandleParams
Builder parameters for [NemoRelayContextState::create_scope_handle].
EmitMarkEventParams
Builder parameters for event.
EndScopeHandleParams
Builder parameters for [NemoRelayContextState::build_scope_end_event].
PopScopeParams
Builder parameters for pop_scope.
PushScopeParams
Builder parameters for push_scope.
ScopeAttributes
Bitflags that modify scope behavior and observability.
ScopeHandle
Runtime-owned handle identifying an active or completed scope.

Enums§

HandleAttributes
Attribute bitflags attached to a concrete handle kind.
ScopeType
Semantic category attached to a scope lifecycle span.

Constants§

COMPACTION_EVENT_NAME
Canonical mark-event name used to indicate agent context compaction.

Functions§

event
Emit a standalone mark event under the current or provided scope.
get_handle
Return the current scope at the top of the active stack.
pop_scope
Pop the current scope from the active scope stack.
push_scope
Push a new scope onto the active scope stack.