(message)
| 187 | } |
| 188 | |
| 189 | #tryPush(message) { |
| 190 | if (this.#canPush) { |
| 191 | this.#canPush = this.push(message); |
| 192 | } else { |
| 193 | ArrayPrototypePush(this.#buffer, message); |
| 194 | } |
| 195 | |
| 196 | return this.#canPush; |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | module.exports = { TestsStream, kEmitMessage }; |
no test coverage detected