UNPKG

@huddle01/web-core

Version:

The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.

14 lines (12 loc) 427 B
interface DefaultRetryConfig { maxRetries: number; initialDelay: number; factor: number; jitter: boolean; } type RetryConfig = Partial<DefaultRetryConfig>; declare class RetryAbortError extends Error { constructor(message: string); } declare function apiCallWithRetry<T>(apiCall: () => Promise<T>, config?: RetryConfig, abortSignal?: AbortSignal): Promise<T>; export { RetryAbortError, apiCallWithRetry };