diff options
author | Florian Dold <florian@dold.me> | 2022-10-07 14:23:23 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-07 14:23:23 +0200 |
commit | a93a0cae131da4c3dd3f30ac5300f16f759758ff (patch) | |
tree | 6cc17143bc2e30965a459419fbf5c23b321a6303 /packages/taler-wallet-core/src/pending-types.ts | |
parent | 1256c8704b11faceb21629cd50813ef2b7b9015b (diff) | |
download | wallet-core-a93a0cae131da4c3dd3f30ac5300f16f759758ff.tar.xz |
wallet-core: fix busy wait when long-polling for manual withdrawal
Diffstat (limited to 'packages/taler-wallet-core/src/pending-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pending-types.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/pending-types.ts b/packages/taler-wallet-core/src/pending-types.ts index 61c7136df..5e0000b53 100644 --- a/packages/taler-wallet-core/src/pending-types.ts +++ b/packages/taler-wallet-core/src/pending-types.ts @@ -26,7 +26,6 @@ */ import { TalerErrorDetail, - BalancesResponse, AbsoluteTime, TalerProtocolTimestamp, } from "@gnu-taler/taler-util"; @@ -204,6 +203,16 @@ export interface PendingTaskInfoCommon { givesLifeness: boolean; /** + * Operation is active and waiting for a longpoll result. + */ + isLongpolling: boolean; + + /** + * Operation is waiting to be executed. + */ + isDue: boolean; + + /** * Timestamp when the pending operation should be executed next. */ timestampDue: AbsoluteTime; |