MCPcopy
hub / github.com/nestjs/nest / _write

Method _write

packages/core/test/router/sse-stream.spec.ts:27–34  ·  view source on GitHub ↗
(
    chunk: any,
    encoding: string,
    callback: (error?: Error | null) => void,
  )

Source from the content-addressed store, hash-verified

25 }
26
27 _write(
28 chunk: any,
29 encoding: string,
30 callback: (error?: Error | null) => void,
31 ): void {
32 this.chunks.push(chunk);
33 callback();
34 }
35
36 get content() {
37 return this.chunks.join('');

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected