AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval.
(observer async.Observer)
| 752 | |
| 753 | // AsyncCallObserver sets the observer for monitoring asynchronous function calls during ConcurrentEval. |
| 754 | func 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. |
no outgoing calls