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

Method addFinalizer

packages/effect/src/Scope.ts:69–69  ·  view source on GitHub ↗

* Adds a finalizer to this scope. The finalizer will be run when the scope is closed. * * @internal

(finalizer: Scope.Finalizer)

Source from the content-addressed store, hash-verified

67 * @internal
68 */
69 addFinalizer(finalizer: Scope.Finalizer): Effect.Effect<void>
70}
71
72/**

Callers 15

rpc-schemas.tsFile · 0.65
handlePortFunction · 0.65
makeFunction · 0.65
setupFunction · 0.65
listenFunction · 0.65
makeMemoryFunction · 0.65
makeFunction · 0.65
makeFunction · 0.65
makeNetFunction · 0.65
runFunction · 0.65

Implementers 1

MicroScopeImplpackages/effect/src/Micro.ts

Calls

no outgoing calls

Tested by 2

modifyEnvFunction · 0.52
resourceFunction · 0.52