diff options
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> { |