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

Method addFinalizer

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

Source from the content-addressed store, hash-verified

168 }): Effect.Effect<A, E>
169 once<A>(this: AtomContext, atom: Atom<A>): A
170 addFinalizer(this: AtomContext, f: () => void): void
171 mount<A>(this: AtomContext, atom: Atom<A>): void
172 refresh<A>(this: AtomContext, atom: Atom<A>): void
173 refreshSelf(this: AtomContext): void

Callers 15

makeFunction · 0.80
makeFunction · 0.80
makeFunction · 0.80
queryStreamFunction · 0.80
makeFunction · 0.80
PgClient.tsFile · 0.80
executeStreamMethod · 0.80
fromClientFunction · 0.80
makeFunction · 0.80
makeMemoryFunction · 0.80

Calls

no outgoing calls

Tested by 2

getFunction · 0.64
makeHarnessFunction · 0.64