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

Function refresh

packages/effect/src/unstable/reactivity/AtomRegistry.ts:957–960  ·  view source on GitHub ↗
(this: Lifetime<any>, atom: Atom.Atom<A>)

Source from the content-addressed store, hash-verified

955 },
956
957 refresh<A>(this: Lifetime<any>, atom: Atom.Atom<A>): void {
958 if (this.disposed) return
959 this.node.registry.refresh(atom)
960 },
961
962 refreshSelf(this: Lifetime<any>): void {
963 if (this.disposed) return

Callers 3

Atom.test.tsFile · 0.85
autoFunction · 0.85
Atom.tsFile · 0.85

Calls 1

refreshMethod · 0.80

Tested by

no test coverage detected