Skip to content

Commit

Permalink
fix chunkByAccumulation/chunkByAccumulationAsync comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ugaya40 committed Jul 15, 2024
1 parent 952643e commit ce24729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { AsyncGen, AsyncOperator, AsyncSeq } from '../../AsyncSeq';
* )
* ).toArrayAsync();
*
* // result1: [[1, 2, 3, 4], [5, 6], [7], [8], [9], [10]]
* // result1: [[1, 2, 3, 4], [5], [6], [7], [8], [9], [10]]
*
* // Example where the first value doesn't satisfy the condition
* const result2 = await fromAsAsync([11, 1, 2, 3]).pipe(
Expand Down
2 changes: 1 addition & 1 deletion packages/leseq/src/operators/chunkByAccumulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Gen, Operator, Seq } from '../Seq';
* )
* ).toArray();
*
* // result1: [[1, 2, 3, 4], [5, 6], [7], [8], [9], [10]]
* // result1: [[1, 2, 3, 4], [5], [6], [7], [8], [9], [10]]
*
* // Example where the first value doesn't satisfy the condition
* const result2 = from([11, 1, 2, 3]).pipe(
Expand Down

0 comments on commit ce24729

Please sign in to comment.