temit > RequesterOptions > timeout
RequesterOptions.timeout property
Set the length of time before the request times out and returns an error.
Allows time strings as per the ms
package, such as "30 seconds"
or "50ms"
.
A timeout can be entirely disabled by setting this option to 0
. This is not recommened.
The default (and recommendation) is 30 seconds.
Signature:
timeout?: string | number;