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

Function AsyncCallObserver

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

815
816// AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval.
817func AsyncCallObserver(observer async.Observer) ProgramOption {
818 return func(p *prog) (*prog, error) {
819 p.asyncObserver = observer
820 return p, nil
821 }
822}
823
824// AsyncCompletionBufferSize sets the size of the buffer for the async completion channel.
825// By default, the channel is unbuffered.

Callers 1

Calls

no outgoing calls

Tested by 1