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

Struct asyncCallState

interpreter/async.go:262–275  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected