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

Method start

csv/stringify_stream.ts:106–121  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

104 super(
105 {
106 start(controller) {
107 if (columns && columns.length > 0) {
108 try {
109 controller.enqueue(
110 stringify(
111 [columns],
112 separator !== undefined
113 ? { separator, headers: false }
114 : { headers: false },
115 ),
116 );
117 } catch (error) {
118 controller.error(error);
119 }
120 }
121 },
122 transform(chunk, controller) {
123 try {
124 controller.enqueue(

Callers

nothing calls this directly

Calls 1

stringifyFunction · 0.90

Tested by

no test coverage detected