Skip to content

DiscordRestTimeout

const DiscordRestTimeout: Reference<Duration>

Defined in: packages/platform-discord/src/rest/index.ts:17

How long one Discord REST call may wait before it fails.

One value covers every call path to Discord. Override it at composition with DiscordRest.layerFetch({ timeout }) or by providing this reference; the default is a conservative guess until a production latency baseline exists.