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

Function scopeDisableClose

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

Source from the content-addressed store, hash-verified

289 * @since 4.0.0
290 */
291export const scopeDisableClose = (scope: Scope.Scope): void => {
292 ;(scope as any)[scopeEjected] = true
293}
294
295/**
296 * Returns a streaming server response that closes the request scope with the body stream's exit.

Callers 1

scopeTransferToStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected