We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b81d89 commit 147e33aCopy full SHA for 147e33a
1 file changed
src/pkg/utils/concurrency-control.ts
@@ -34,7 +34,7 @@ export const withTimeoutNotify = <T>(
34
time: number,
35
fn: (res: TWithTimeoutNotifyResult<T>) => any
36
) => {
37
- const res: TWithTimeoutNotifyResult<T> = { timeouted: false, result: undefined, done: false, err: undefined };
+ const res: TWithTimeoutNotifyResult<T> = { timeouted: false, result: undefined, settled: false, err: undefined };
38
const cid = setTimeout(() => {
39
res.timeouted = true;
40
fn(res);
0 commit comments