MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/platform/node/src/NodeMultipartParser.ts:170–178  ·  view source on GitHub ↗
(
    info: PartInfo,
    parent: MultipartStream
  )

Source from the content-addressed store, hash-verified

168 readonly info: PartInfo
169 private _parent: MultipartStream
170 constructor(
171 info: PartInfo,
172 parent: MultipartStream
173 ) {
174 super()
175 this.info = info
176 this._parent = parent
177 this.filename = info.filename
178 }
179 override _read(_size: number) {
180 if (this._parent._canWrite === false) {
181 this._parent._resume()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected