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

Struct asyncCallState

interpreter/async.go:267–280  ·  view source on GitHub ↗

asyncCallState tracks the result of a single async function call across multiple re-evaluations.

Source from the content-addressed store, hash-verified

265
266// asyncCallState tracks the result of a single async function call across multiple re-evaluations.
267type asyncCallState struct {
268 id int64 // AST expression node ID where the call is defined.
269 callID int64 // Unique incremental tracking ID assigned to this call.
270 function string
271 overload string
272 argVals []ref.Val
273 impl functions.AsyncOp
274
275 mu sync.RWMutex
276 started bool
277 result ref.Val
278
279 gate *asyncGate
280}
281
282// CallID returns the unique identifier for this async call invocation.
283func (acs *asyncCallState) CallID() int64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected