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

Function generate

packages/effect/src/unstable/reactivity/AtomRef.ts:109–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107const keyState = {
108 count: 0,
109 generate() {
110 return `AtomRef-${this.count++}`
111 }
112}
113
114class ReadonlyRefImpl<A> implements ReadonlyRef<A> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected