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

Method constructor

packages/effect/test/utils/counter.ts:15–15  ·  view source on GitHub ↗
(readonly ref: Ref.Ref<readonly [number, number]>)

Source from the content-addressed store, hash-verified

13
14class CounterImpl implements Counter {
15 constructor(readonly ref: Ref.Ref<readonly [number, number]>) {}
16
17 acquire(): Effect.Effect<number, never, Scope.Scope> {
18 return pipe(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected