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

Method _write

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

Source from the content-addressed store, hash-verified

297 private readonly chunks: string[] = [];
298
299 _write(
300 chunk: any,
301 encoding: string,
302 callback: (error?: Error | null) => void,
303 ): void {
304 this.chunks.push(chunk);
305 callback();
306 }
307
308 get content() {
309 return this.chunks.join('');

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected