UNPKG

@radixdlt/application

Version:

A JavaScript client library for interacting with the Radix Distributed Ledger.

13 lines 563 B
import { Result } from 'neverthrow'; import { Observable } from 'rxjs'; export declare const hasRequiredProps: <T extends Record<string, unknown>>(methodName: string, obj: T, props: string[]) => Result<T, Error[]>; export declare const retryOnErrorCode: ({ maxRetryAttempts, scalingDuration, errorCodes, }?: { maxRetryAttempts?: number | undefined; scalingDuration?: number | undefined; errorCodes?: number[] | undefined; }) => (attempts: Observable<{ error: { code: number; }; }>) => Observable<0>; //# sourceMappingURL=utils.d.ts.map