CCC Docs
    Preparing search index...

    Function waitForAvailability

    • Waits until the current browser page is visible and the browser reports it is online. This does not guarantee that a remote endpoint is reachable. Resolves immediately outside a browser and rejects with the abort reason when the optional signal is aborted.

      Parameters

      • Optionalsignal: AbortSignal

      Returns Promise<void>