diff options
author | Florian Dold <florian@dold.me> | 2024-02-13 10:53:43 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-15 21:56:54 +0100 |
commit | 70a803038f1cbe05dc4779bdd87376fd073421be (patch) | |
tree | 6607d69f6906ada9f912e31d9a9e3b65560a7326 /packages/taler-util/src/wallet-types.ts | |
parent | 2c17e98c336d96f955ec82ad0a1b164e3da90103 (diff) | |
download | wallet-core-70a803038f1cbe05dc4779bdd87376fd073421be.tar.xz |
implement task shepherd, many small fixes and tweaks
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 0749df9f9..b79bfe4fe 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -71,12 +71,10 @@ import { } from "./taler-types.js"; import { AbsoluteTime, - Duration, TalerPreciseTimestamp, TalerProtocolDuration, TalerProtocolTimestamp, codecForAbsoluteTime, - codecForDuration, codecForTimestamp, } from "./time.js"; import { @@ -3062,3 +3060,13 @@ export const codecForRemoveGlobalCurrencyAuditorRequest = .property("auditorBaseUrl", codecForString()) .property("auditorPub", codecForString()) .build("RemoveGlobalCurrencyAuditorRequest"); + +export interface RetryLoopOpts { + /** + * Stop the retry loop when all lifeness-giving pending operations + * are done. + * + * Defaults to false. + */ + stopWhenDone?: boolean; +} |