Skip to content

Commit

Permalink
update README and other.
Browse files Browse the repository at this point in the history
  • Loading branch information
ugaya40 committed Jul 15, 2024
1 parent 6bd5632 commit 952643e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ It is used within the pipe method of the Seq<T> object. Any number of oper
| --- | --- |
| [catchError](https://ugaya40.github.io/leseq/api/operators/#catchError) | If the original iterable sequence raises an exception, the specified action is performed, terminating the enumeration or enumerating an alternate sequence. (async version: [catchErrorAsync](https://ugaya40.github.io/leseq/api/operators/#catcherrorasync) ) | |
| [chunk](https://ugaya40.github.io/leseq/api/operators/#chunk) | Returns a sequence divided into array of the specified size. (async version: [chunkAsync](https://ugaya40.github.io/leseq/api/operators/#chunkasync) ) | |
| [chunkByAccumulation](https://ugaya40.github.io/leseq/api/operators/#chunkByAccumulation) | Returns a sequence divided into arrays based on an accumulation function and a threshold condition. (async version: [chunkByAccumulationAsync](https://ugaya40.github.io/leseq/api/operators/#chunkByAccumulationAsync) ) | |
| [concat](https://ugaya40.github.io/leseq/api/operators/#concat) | Returns a sequence in which the current sequence and the specified sequence are concatenated. (async version: [concatAsync](https://ugaya40.github.io/leseq/api/operators/#concatasync) ) | |
| [concatValue](https://ugaya40.github.io/leseq/api/operators/#concatvalue) | Returns the sequence to which the specified value is added. (async version: [concatValueAsync](https://ugaya40.github.io/leseq/api/operators/#concatvalueasync) ) | |
| [difference](https://ugaya40.github.io/leseq/api/operators/#difference) | Returns the sequence that is the difference set between the current sequence and the specified sequence. (async version: [differenceAsync](https://ugaya40.github.io/leseq/api/operators/#differenceasync) ) | |
Expand Down
2 changes: 1 addition & 1 deletion packages/leseq/tests/testUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const abortableSleep = (ms: number, signal?: AbortSignal) => new Promise<
setTimeout(resolve,ms)
});

export const performanceAsync = async <T>(func: () => Promise<T>) => {
export const performanceAsync = async <T>(func: () => Promise<T>): Promise<[Awaited<T>, number]> => {
const startTime = performance.now();
const result = await func();
const endTime = performance.now();
Expand Down
1 change: 1 addition & 0 deletions packages/leseq/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"strict": true,
"outDir": "./dist",
"moduleResolution": "Node",
"esModuleInterop": true,
"noImplicitAny": true,
"declaration": true,
},
Expand Down

0 comments on commit 952643e

Please sign in to comment.