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

Function start

packages/effect/src/unstable/http/internal/compression.ts:113–116  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

111const singleChunkStream = (data: Uint8Array): ReadableStream<Uint8Array> =>
112 new ReadableStream({
113 start(controller) {
114 controller.enqueue(data)
115 controller.close()
116 }
117 })
118
119const rawReadableStream = (raw: unknown): ReadableStream<Uint8Array> | undefined => {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected