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

Interface Cell

packages/ui/native/src/internal/cell.ts:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 * @internal
5 */
6export interface Cell<A> {
7 readonly get: () => A
8 /** Skips a value `equals` the current one. */
9 readonly set: (value: A) => void
10 readonly subscribe: (listener: (value: A) => void) => () => void
11}
12
13/** @internal */
14export const cell = <A>(

Callers 1

Runtime.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected