• Parameters

    • promise: Promise<any>
    • ms: number
    • timeoutErrorMsg: string

    Returns Promise<any>