MCPcopy Index your code
hub / github.com/Effect-TS/effect / repetitions

Function repetitions

packages/effect/src/internal/schedule.ts:1287–1288  ·  view source on GitHub ↗
(self: Schedule.Schedule<Out, In, R>)

Source from the content-addressed store, hash-verified

1285
1286/** @internal */
1287export const repetitions = <Out, In, R>(self: Schedule.Schedule<Out, In, R>): Schedule.Schedule<number, In, R> =>
1288 reduce(self, 0, (n, _) => n + 1)
1289
1290/** @internal */
1291export const resetAfter = dual<

Callers

nothing calls this directly

Calls 1

reduceFunction · 0.70

Tested by

no test coverage detected