• Type Parameters

    • T

    Parameters

    • condition: boolean
    • promiseFunc: (() => Promise<T>)
        • (): Promise<T>
        • Returns Promise<T>

    Returns Promise<T>