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

Function AsyncCallObserver

cel/options.go:754–759  ·  view source on GitHub ↗

AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval.

(observer async.Observer)

Source from the content-addressed store, hash-verified

752
753// AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval.
754func AsyncCallObserver(observer async.Observer) ProgramOption {
755 return func(p *prog) (*prog, error) {
756 p.asyncObserver = observer
757 return p, nil
758 }
759}
760
761// AsyncCompletionBufferSize sets the size of the buffer for the async completion channel.
762// By default, the channel is unbuffered.

Callers 1

Calls

no outgoing calls

Tested by 1