diff options
author | Florian Dold <florian@dold.me> | 2023-05-05 19:03:44 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-07 21:51:02 +0200 |
commit | 7f0edb6a783d9a50f94f65c815c1280baecaac89 (patch) | |
tree | b4f3bc24fece1f651e8c2f69fc0fcf52e1d6f330 /packages/taler-wallet-core/src/util/retries.ts | |
parent | a0bf83fbb5db026389cc7d203adcff050d5a1b28 (diff) | |
download | wallet-core-7f0edb6a783d9a50f94f65c815c1280baecaac89.tar.xz |
wallet-core: refund DD37 refactoring
Diffstat (limited to 'packages/taler-wallet-core/src/util/retries.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/retries.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts index 12e1df7e9..7607a6583 100644 --- a/packages/taler-wallet-core/src/util/retries.ts +++ b/packages/taler-wallet-core/src/util/retries.ts @@ -76,6 +76,11 @@ export namespace OperationAttemptResult { result: undefined, }; } + export function longpoll(): OperationAttemptResult<unknown, unknown> { + return { + type: OperationAttemptResultType.Longpoll, + } + } } export interface OperationAttemptFinishedResult<T> { |