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

Function repetitions

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

Source from the content-addressed store, hash-verified

1293
1294/** @internal */
1295export const repetitions = <Out, In, R>(self: Schedule.Schedule<Out, In, R>): Schedule.Schedule<number, In, R> =>
1296 reduce(self, 0, (n, _) => n + 1)
1297
1298/** @internal */
1299export const resetAfter = dual<

Callers

nothing calls this directly

Calls 1

reduceFunction · 0.70

Tested by

no test coverage detected