MCPcopy Create free account
hub / github.com/cel-expr/cel-go / InitState

Method InitState

interpreter/interpreter.go:47–47  ·  view source on GitHub ↗

InitState configures stateful metadata on the execution frame.

(*ExecutionFrame)

Source from the content-addressed store, hash-verified

45type StatefulObserver interface {
46 // InitState configures stateful metadata on the execution frame.
47 InitState(*ExecutionFrame) (any, error)
48
49 // GetState retrieves the stateful metadata from the execution frame.
50 GetState(*ExecutionFrame) any

Callers 1

ObserveExecMethod · 0.65

Implementers 2

evalStateFactoryinterpreter/interpreter.go
costTrackerFactoryinterpreter/runtimecost.go

Calls

no outgoing calls

Tested by

no test coverage detected