MCPcopy
hub / github.com/resend/react-email / write

Function write

packages/react-email/src/cli/utils/spinner.spec.ts:8–11  ·  view source on GitHub ↗
(chunk, _encoding, callback)

Source from the content-addressed store, hash-verified

6 const chunks: string[] = [];
7 const stream = new Writable({
8 write(chunk, _encoding, callback) {
9 chunks.push(chunk.toString());
10 callback();
11 },
12 }) as Writable & { isTTY?: boolean };
13 stream.isTTY = false;
14 return { stream: stream as unknown as NodeJS.WriteStream, chunks };

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…