• Takes a promise p, and returns a new one which rejects if p takes too long, and otherwise passes the result through.

    Type Parameters

    • T

    Parameters

    • p: Promise<T>
    • ms: number
    • msg: string

    Returns Promise<T>

Generated using TypeDoc