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

Method ConcurrentEval

cel/program.go:72–72  ·  view source on GitHub ↗

ConcurrentEval evaluates the program concurrently, returning a channel that will receive the final EvalResult when all asynchronous operations complete, or the context expires. The vars value may either be an `Activation` or `map[string]any`. Liveness: ConcurrentEval relies on context cancellation

(context.Context, any)

Source from the content-addressed store, hash-verified

70 // their results discarded. Async functions should therefore be free of unwanted side effects
71 // on partial evaluation, or guard them with idempotency/cancellation handling.
72 ConcurrentEval(context.Context, any) <-chan EvalResult
73}
74
75// Activation used to resolve identifiers by name and references by id.

Callers 5

evalCallFunction · 0.65
evaluateExprFunction · 0.65
awaitEvalFunction · 0.65

Implementers 1

progcel/program.go

Calls

no outgoing calls

Tested by 3

awaitEvalFunction · 0.52