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

Method ConcurrentEval

cel/program.go:74–74  ·  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

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

Implementers 1

progcel/program.go

Calls

no outgoing calls