Effect CommunityEC
Effect Community3y ago
56 replies
iamK

Accumulating Results from Repeated `processBatch` Execution

how to accomulate the result of processBatch after it has finished running N times.

  program = pipe(
    this.processBatch,
    Effect.repeatUntil((processed) => processed < 10)
  );
Was this page helpful?