diff options
author | Florian Dold <florian@dold.me> | 2024-02-27 15:36:33 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-27 15:36:33 +0100 |
commit | 7e5827eb4fbde75e109d68393145151901c7a8ea (patch) | |
tree | 852f39d499b96c2009459fdacf3185bb61f0dfbf /packages/taler-wallet-core/src/wallet.ts | |
parent | f78d7dc613946b0316a559aa0161dd02b056b05d (diff) | |
download | wallet-core-7e5827eb4fbde75e109d68393145151901c7a8ea.tar.xz |
-move state into shepherd
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 79f7a1be5..bab054f4b 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1486,8 +1486,6 @@ export class InternalWalletState { */ private resourceLocks: Set<string> = new Set(); - isTaskLoopRunning: boolean = false; - taskScheduler: TaskScheduler = new TaskScheduler(this); config: Readonly<WalletConfig>; @@ -1604,21 +1602,6 @@ export class InternalWalletState { } } } - - ensureTaskLoopRunning(): void { - if (this.isTaskLoopRunning) { - return; - } - this.taskScheduler - .run() - .catch((e) => { - logger.error("error running task loop"); - logger.error(`err: ${e}`); - }) - .then(() => { - logger.info("done running task loop"); - }); - } } /** |