MCPcopy Create free account
hub / github.com/nodejs/undici / constructor

Method constructor

test/utils/stream.js:27–29  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

25
26class Source {
27 constructor (data) {
28 this.data = data
29 }
30
31 async start (controller) {
32 this.controller = controller

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected