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

Method _write

packages/core/test/mock-writable.ts:6–13  ·  view source on GitHub ↗
(
		chunk: any,
		_encoding: BufferEncoding,
		callback: (error?: Error | null | undefined) => void
	)

Source from the content-addressed store, hash-verified

4 public buffer: string[] = [];
5
6 _write(
7 chunk: any,
8 _encoding: BufferEncoding,
9 callback: (error?: Error | null | undefined) => void
10 ): void {
11 this.buffer.push(chunk.toString());
12 callback();
13 }
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected