()
| 30 | } |
| 31 | |
| 32 | func (b *requestBatch) clear() { |
| 33 | b.pipelineRequests = b.pipelineRequests[:0] |
| 34 | b.wireRequests = b.wireRequests[:0] |
| 35 | } |
| 36 | |
| 37 | func (b *requestBatch) add(r *request) error { |
| 38 | b.pipelineRequests = append(b.pipelineRequests, r) |
no outgoing calls