Temit

Temit

  • Getting Started
  • API
  • Github
  • npm
  • Discord

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;
  • RequesterOptions.timeout property
Temit
Docs
Getting StartedRecipesAPI Reference
Community
DiscordGitHubStar
Copyright © 2021 Temit