diff options
author | Sebastian <sebasjm@gmail.com> | 2024-06-06 15:49:36 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-06-07 10:38:26 -0300 |
commit | 2a37575cf6db006431a7d174b85203ae41cc629f (patch) | |
tree | 7cac742f656c3df99e5d7ba22f4d6931ed7fb719 /packages/taler-util/src | |
parent | 1e22b5bcf77b3391f86105727e8c0b413b652fd4 (diff) | |
download | wallet-core-2a37575cf6db006431a7d174b85203ae41cc629f.tar.xz |
wait for previous task to be cancelled
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/CancellationToken.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/CancellationToken.ts b/packages/taler-util/src/CancellationToken.ts index 3aa576d77..5f38f0c7b 100644 --- a/packages/taler-util/src/CancellationToken.ts +++ b/packages/taler-util/src/CancellationToken.ts @@ -172,7 +172,7 @@ class CancellationToken { } = CancellationToken.create(); let timer: NodeJS.Timeout | null; - timer = setTimeout(() => originalCancel(CancellationToken.timeout), ms); + timer = setTimeout(() => originalCancel(`CancellationToken.timeout ${ms}`), ms); const disposeTimer = () => { if (timer == null) return; clearTimeout(timer); |