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

File MutableRef.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * Stores synchronous mutable state in a small reference object.
3 *
4 * A `MutableRef<A>` stores one current value and exposes it through `.current`.

Callers

nothing calls this directly

Calls 4

equalsMethod · 0.80
getFunction · 0.70
fFunction · 0.50
setFunction · 0.50

Tested by

no test coverage detected