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

Method notify

packages/effect/src/unstable/reactivity/AtomRef.ts:312–315  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

310 makeRef(value: A) {
311 const ref = new AtomRefImpl(value)
312 const notify = (value: A) => {
313 ref.notify(value)
314 this.notify(this.value)
315 }
316 return new Proxy(ref, {
317 get(target, p, _receiver) {
318 if (p === "notify") {

Callers 4

pushMethod · 0.95
insertAtMethod · 0.95
removeMethod · 0.95
setMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected