Running an Effect Program Multiple Times with Effect.all

hi, i have this code, how can i achieve this? i want to create a copy of effect program 100 times and run with Effect.all()
const prog = Effect.gen(function* () {
  const svc = yield* ShortLinkEffectService

  const code = yield* svc.make.code() // i want to execute this 100 times and return array of code

  return code
}).pipe(Effect.provide([ShortLinkEffectService.Default]))
Was this page helpful?