MCPcopy
hub / github.com/Effect-TS/effect / stream

Function stream

packages/platform/src/internal/httpBody.ts:234–238  ·  view source on GitHub ↗
(
  body: Stream_.Stream<Uint8Array, unknown>,
  contentType?: string | undefined,
  contentLength?: number | undefined
)

Source from the content-addressed store, hash-verified

232
233/** @internal */
234export const stream = (
235 body: Stream_.Stream<Uint8Array, unknown>,
236 contentType?: string | undefined,
237 contentLength?: number | undefined
238): Body.Stream => new StreamImpl(body, contentType ?? "application/octet-stream", contentLength)

Callers 3

fileFunction · 0.70
fileInfoFunction · 0.70
fileWebFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…