effect-io-ai

Package: effect
Module: Schedule

Schedule.recurs

A schedule that recurs a fixed number of times before terminating.

Details

This schedule will continue executing until it has been stepped n times, after which it will stop. The output of the schedule is the current count of recurrences.

Signature

declare const recurs: (n: number) => Schedule<number>

Source

Since v2.0.0