// Effect<string>
const foo = Effect.succeed('foo').pipe(Effect.repeat({ times: 3 }));
// Effect<number>
const bar = Effect.succeed('bar').pipe(Effect.repeat({ times: 3, schedule: Schedule.fixed('1 second') }));
// Effect<string>
const foo = Effect.succeed('foo').pipe(Effect.repeat({ times: 3 }));
// Effect<number>
const bar = Effect.succeed('bar').pipe(Effect.repeat({ times: 3, schedule: Schedule.fixed('1 second') }));