MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / writeChunk

Method writeChunk

src/lib/output.ts:83–85  ·  view source on GitHub ↗

* Write a chunk of bytes to stdout verbatim. Awaits any * Promise the rawStdout writer returns so a slow downstream * consumer pauses the upstream reader instead of buffering chunks * in memory. See `OutputStreams.rawStdout` for the backpressure * contract.

(text: string)

Source from the content-addressed store, hash-verified

81 * contract.
82 */
83 async writeChunk(text: string): Promise<void> {
84 await this.rawStdoutWrite(text);
85 }
86
87 error(message: string): void {
88 if (this.mode === 'json') {

Callers 3

runCodeGetFunction · 0.80
streamPresignedBodyFunction · 0.80
output.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected