()
| 103 | } |
| 104 | |
| 105 | func newAsyncResponse() *asyncResponse { |
| 106 | return &asyncResponse{ |
| 107 | respChan: make(chan Responses[combiner.PipelineResponse]), |
| 108 | errChan: make(chan error, 1), |
| 109 | err: atomic.NewError(nil), |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | func (a *asyncResponse) Send(ctx context.Context, r Responses[combiner.PipelineResponse]) { |
| 114 | select { |
no outgoing calls