diff options
Diffstat (limited to 'packages/taler-wallet-core/src/common.ts')
-rw-r--r-- | packages/taler-wallet-core/src/common.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/common.ts b/packages/taler-wallet-core/src/common.ts index 128138eb2..b0b975e7b 100644 --- a/packages/taler-wallet-core/src/common.ts +++ b/packages/taler-wallet-core/src/common.ts @@ -116,9 +116,15 @@ export interface InternalWalletState { cryptoApi: CryptoApi; timerGroup: TimerGroup; - latch: AsyncCondition; stopped: boolean; - memoRunRetryLoop: AsyncOpMemoSingle<void>; + + /** + * Asynchronous condition to interrupt the sleep of the + * retry loop. + * + * Used to allow processing of new work faster. + */ + latch: AsyncCondition; listeners: NotificationListener[]; |