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

Function scopeDisableClose

packages/effect/src/unstable/http/HttpEffect.ts:129–131  ·  view source on GitHub ↗
(scope: Scope.Scope)

Source from the content-addressed store, hash-verified

127 * @since 4.0.0
128 */
129export const scopeDisableClose = (scope: Scope.Scope): void => {
130 ;(scope as any)[scopeEjected] = true
131}
132
133/**
134 * Returns a streaming server response that closes the request scope when the body stream exits.

Callers 1

scopeTransferToStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected