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

Method stream

packages/platform/src/internal/httpClient.ts:345–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343 }
344
345 get stream() {
346 return Stream.suspend(() => {
347 responseRegistry.unregister(this.original)
348 return Stream.ensuring(
349 this.original.stream,
350 Effect.sync(() => {
351 this.controller.abort()
352 })
353 )
354 })
355 }
356
357 toJSON() {
358 return this.original.toJSON()

Callers 13

Template.test.tsFile · 0.45
HttpApp.test.tsFile · 0.45
fromWebFunction · 0.45
unsafeEjectStreamScopeFunction · 0.45
fileFunction · 0.45
fileInfoFunction · 0.45
fileWebFunction · 0.45
htmlStreamFunction · 0.45
streamFunction · 0.45
streamFunction · 0.45
fileResponseFunction · 0.45
fileWebResponseFunction · 0.45

Calls 1

syncMethod · 0.80

Tested by

no test coverage detected