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

Function update

packages/effect/src/unstable/reactivity/Atom.ts:1763–1766  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1761 let timeout: number | undefined
1762 let value = get.once(self)
1763 function update() {
1764 timeout = undefined
1765 get.setSelf(value)
1766 }
1767 get.addFinalizer(function() {
1768 if (timeout) clearTimeout(timeout)
1769 })

Callers

nothing calls this directly

Calls 1

setSelfMethod · 0.65

Tested by

no test coverage detected