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

File SubscriptionRef.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * Stores mutable state and publishes changes as a stream.
3 *
4 * A `SubscriptionRef<A>` stores the latest value, publishes the initial value,

Callers

nothing calls this directly

Calls 6

setUnsafeFunction · 0.85
withPermitMethod · 0.80
updateFunction · 0.50
modifyFunction · 0.50
syncMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected