From 15feebecfeeda4758a96d1da99a98d9494c4bd2b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 22 Apr 2023 14:17:49 +0200 Subject: wallet-core: towards DD37 for deposits --- packages/taler-wallet-core/src/util/retries.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/taler-wallet-core/src/util') 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 { + return { + type: OperationAttemptResultType.Pending, + result: undefined, + }; + } } export interface OperationAttemptFinishedResult { -- cgit v1.2.3