MCPcopy
hub / github.com/Effect-TS/effect / inc

Function inc

packages/effect/test/ScopedCache.test.ts:621–621  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

619 it.effect("refresh - should update the cache with a new value", () =>
620 Effect.gen(function*() {
621 const inc = (n: number) => n * 10
622 const retrieve = (multiplier: Ref.Ref<number>) => (key: number) =>
623 pipe(
624 Ref.updateAndGet(multiplier, inc),

Callers 3

core-effect.tsFile · 0.85
stm.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected