Skip to content

StatefulObserver

StatefulObserver observes evaluation while maintaining per-evaluation state.

getState(frame): unknown

getState returns the stateful metadata stored on the execution frame.

ExecutionFrame

unknown


initState(frame): unknown

initState configures stateful metadata on the execution frame.

ExecutionFrame

unknown


observe(activation, id, programStep, value): void

observe updates the observer state with the evaluation event.

Activation

number

unknown

Val

void