Cotal TypeScript packages
    Preparing search index...

    Function dialWithRetry

    • Run dial until it opens, trying again after a refused or timed-out attempt, up to DIAL_ATTEMPTS. Throws DialNotAdmitted when every attempt ended that way, and any other failure at once. dial builds its connection afresh each time.

      Type Parameters

      • T

      Parameters

      • dial: () => Promise<T>

      Returns Promise<T>