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

File SynchronizedRef.ts

packages/effect/src/SynchronizedRef.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Stores mutable state whose updates run one at a time.
3 *
4 * A `SynchronizedRef<A>` behaves like a `Ref<A>` for reading and simple state

Callers

nothing calls this directly

Calls 8

withPermitMethod · 0.80
getUnsafeFunction · 0.70
modifyMethod · 0.65
setMethod · 0.65
fFunction · 0.50
mapMethod · 0.45
succeedMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected