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

Method addFinalizer

packages/effect/src/reactivity/Atom.ts:184–184  ·  view source on GitHub ↗
(this: AtomContext, f: () => void)

Source from the content-addressed store, hash-verified

182 }): Effect.Effect<A, E>
183 once<A>(this: AtomContext, atom: Atom<A>): A
184 addFinalizer(this: AtomContext, f: () => void): void
185 mount<A>(this: AtomContext, atom: Atom<A>): void
186 refresh<A>(this: AtomContext, atom: Atom<A>): void
187 refreshSelf(this: AtomContext): void

Callers 15

makeFunction · 0.80
makeFunction · 0.80
instrumentClientFunction · 0.80
streamRowsFunction · 0.80
listenChannelFunction · 0.80
fromClientFunction · 0.80
Client.test.tsFile · 0.80
makeFunction · 0.80

Calls

no outgoing calls

Tested by 7

namedFunction · 0.64
getFunction · 0.64
makeHarnessFunction · 0.64
makeClientFunction · 0.64
trackedFunction · 0.64
lineFunction · 0.64
releasingFunction · 0.64