MCPcopy Index your code
hub / github.com/nodejs/node / createTestWritableStream

Function createTestWritableStream

test/parallel/test-webstreams-abort-controller.js:19–25  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

17}
18
19function createTestWritableStream(values) {
20 return new WritableStream({
21 write(chunk) {
22 values.push(chunk);
23 }
24 });
25}
26
27{
28 const rs = createTestReadableStream();

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…