MCPcopy Create free account
hub / github.com/bombshell-dev/clack / _write

Method _write

packages/prompts/test/test-utils.ts:9–16  ·  view source on GitHub ↗
(
		chunk: any,
		_encoding: BufferEncoding,
		callback: (error?: Error | null | undefined) => void
	)

Source from the content-addressed store, hash-verified

7 public rows = 20;
8
9 _write(
10 chunk: any,
11 _encoding: BufferEncoding,
12 callback: (error?: Error | null | undefined) => void
13 ): void {
14 this.buffer.push(chunk.toString());
15 callback();
16 }
17}
18
19export class MockReadable extends Readable {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected