method WebClient.prototype.withTimeout
WebClient.prototype.withTimeout(ms: number): WebClient

Returns a new WebClient with the given timeout in milliseconds.

Parameters

ms: number

Return Type

Usage

import { WebClient } from ".";