@japofc/baileys - v2.4.7
    Preparing search index...

    Variable retryWithBackoffConst

    retryWithBackoff: <T>(
        fn: (attempt: number) => Promise<T> | T,
        options?: RetryOptions,
    ) => Promise<T>

    Type Declaration

      • <T>(fn: (attempt: number) => Promise<T> | T, options?: RetryOptions): Promise<T>
      • Type Parameters

        • T

        Parameters

        • fn: (attempt: number) => Promise<T> | T
        • Optionaloptions: RetryOptions

        Returns Promise<T>