MCPcopy Create free account
hub / github.com/denoland/std / transform

Method transform

csv/stringify_stream.ts:122–135  ·  view source on GitHub ↗
(chunk, controller)

Source from the content-addressed store, hash-verified

120 }
121 },
122 transform(chunk, controller) {
123 try {
124 controller.enqueue(
125 stringify(
126 [chunk],
127 separator !== undefined
128 ? { separator, headers: false, columns }
129 : { headers: false, columns },
130 ),
131 );
132 } catch (error) {
133 controller.error(error);
134 }
135 },
136 },
137 );
138 }

Callers

nothing calls this directly

Calls 1

stringifyFunction · 0.90

Tested by

no test coverage detected