Destroy cancels all inflight operations and releases resources owned by the Queue. Destroy waits for cancelation, so the Queue will not access memory corresponding to inflight operations after Destroy returns.
()
| 34 | // the Queue. Destroy waits for cancelation, so the Queue will not access |
| 35 | // memory corresponding to inflight operations after Destroy returns. |
| 36 | Destroy() |
| 37 | |
| 38 | // Cap returns the Queue's capacity, which is the maximum number of |
| 39 | // concurrent operations supported by the Queue. |
no outgoing calls