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

Method refresh

packages/effect/src/unstable/reactivity/Atom.ts:172–172  ·  view source on GitHub ↗
(this: AtomContext, atom: Atom<A>)

Source from the content-addressed store, hash-verified

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
174 self<A>(this: AtomContext): Option.Option<A>
175 setSelf<A>(this: AtomContext, a: A): void

Callers 15

useAtomRefreshFunction · 0.80
useAtomRefreshFunction · 0.80
Resource.test.tsFile · 0.80
Cache.test.tsFile · 0.80
Atom.test.tsFile · 0.80
Atom.tsFile · 0.80
RegistryImplClass · 0.80
refreshFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected