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

Function fin

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

Source from the content-addressed store, hash-verified

3248 }
3249 const key = {}
3250 const fin = (exit: Exit.Exit<unknown, unknown>) => newScope.close(exit)
3251 this.state.finalizers.set(key, fin)
3252 scopeUnsafeAddFinalizer(newScope, (_) =>
3253 core.sync(() => {

Callers 3

closeFunction · 0.85
addFinalizerFunction · 0.85
runFinalizersFunction · 0.85

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected