• This function is similar to like waitFor but it will wait until the resolver returns a truthy value. If the resolver throws an error, the function rejects immediately.

    Type Parameters

    • T

    Parameters

    Returns Promise<NonFalsy<T>>

    waitFor