()
| 108 | const duplexEcho = (): Duplex => loopbackDuplex((chunk, push) => push(chunk)) |
| 109 | |
| 110 | const duplexStream = (): Duplex => |
| 111 | loopbackDuplex((_chunk, push) => { |
| 112 | for (const frame of streamFrames) push(frame) |
| 113 | }) |
| 114 | |
| 115 | /** |
| 116 | * Tracks how many bytes have arrived so a read of `n` bytes resolves once the |
no test coverage detected