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

Function fin

packages/effect/src/internal/fiberRuntime.ts:3240–3240  ·  view source on GitHub ↗
(exit: Exit.Exit<unknown, unknown>)

Source from the content-addressed store, hash-verified

3238 }
3239 const key = {}
3240 const fin = (exit: Exit.Exit<unknown, unknown>) => newScope.close(exit)
3241 this.state.finalizers.set(key, fin)
3242 scopeUnsafeAddFinalizer(newScope, (_) =>
3243 core.sync(() => {

Callers 3

closeFunction · 0.85
addFinalizerFunction · 0.85
runFinalizersFunction · 0.85

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected