Function waitFor

  • Normalises a promise that errors into an awaitable [result, error] array.

    Type Parameters

    • T

    Parameters

    • promise: Promise<T>

      The resolveable promise

    Returns Promise<WaitForResult<T>>

Generated using TypeDoc