diff options
Diffstat (limited to 'packages/taler-wallet-core/src/internal-wallet-state.ts')
-rw-r--r-- | packages/taler-wallet-core/src/internal-wallet-state.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/internal-wallet-state.ts b/packages/taler-wallet-core/src/internal-wallet-state.ts index 5ecf796ed..6b964cdf7 100644 --- a/packages/taler-wallet-core/src/internal-wallet-state.ts +++ b/packages/taler-wallet-core/src/internal-wallet-state.ts @@ -35,6 +35,7 @@ import { AmountJson, DenominationPubKey, TalerProtocolTimestamp, + CancellationToken, } from "@gnu-taler/taler-util"; import { CryptoDispatcher } from "./crypto/workers/cryptoDispatcher.js"; import { TalerCryptoInterface } from "./crypto/cryptoImplementation.js"; @@ -200,9 +201,14 @@ export interface InternalWalletState { memoGetBalance: AsyncOpMemoSingle<BalancesResponse>; memoProcessRefresh: AsyncOpMemoMap<void>; memoProcessRecoup: AsyncOpMemoMap<void>; - memoProcessDeposit: AsyncOpMemoMap<void>; cryptoApi: TalerCryptoInterface; + /** + * Cancellation token for the currently running + * deposit operation, if any. + */ + taskCancellationSourceForDeposit?: CancellationToken.Source; + timerGroup: TimerGroup; stopped: boolean; |