diff options
author | Florian Dold <florian@dold.me> | 2023-04-22 14:17:49 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-22 14:17:49 +0200 |
commit | 15feebecfeeda4758a96d1da99a98d9494c4bd2b (patch) | |
tree | 54a7536b93673202137927e097d4e5b5dcbc85eb /packages/taler-wallet-core/src/util/retries.ts | |
parent | e331012c9f8efef86c6a8a9297b44a67ba8cda66 (diff) | |
download | wallet-core-15feebecfeeda4758a96d1da99a98d9494c4bd2b.tar.xz |
wallet-core: towards DD37 for deposits
Diffstat (limited to 'packages/taler-wallet-core/src/util/retries.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/retries.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts index 5b6645924..a021087be 100644 --- a/packages/taler-wallet-core/src/util/retries.ts +++ b/packages/taler-wallet-core/src/util/retries.ts @@ -70,6 +70,12 @@ export namespace OperationAttemptResult { result: undefined, }; } + export function pendingEmpty(): OperationAttemptResult<unknown, unknown> { + return { + type: OperationAttemptResultType.Pending, + result: undefined, + }; + } } export interface OperationAttemptFinishedResult<T> { |