(env: Envelope)
| 57 | #err?: Error; |
| 58 | |
| 59 | push(env: Envelope): void { |
| 60 | if (this.#wait) { |
| 61 | const w = this.#wait; |
| 62 | this.#wait = undefined; |
| 63 | w({ value: env, done: false }); |
| 64 | } else { |
| 65 | this.#q.push(env); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | end(): void { |
| 70 | this.#done = true; |
no outgoing calls
no test coverage detected