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

Function AsyncCallObserver

cel/options.go:751–756  ·  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

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

Callers 1

Calls

no outgoing calls

Tested by 1