OptionalbodyOptionalfetchOptionalinit: RequestInitOptionalinit: RequestInitOptionalheadersOptionaljsonOptionalkeepaliveOptionalmethodOptionalonOptionalpollPoll responses that match the configured status codes.
Set to true to use the default polling options.
When combined with retry, a retryable failure during polling retries the
whole polling loop, which starts again from the first poll. poll.limit
applies per retry.
OptionalredirectOptionalretryRetry failed requests.
Set to true to use the default retry options.
OptionalsignalOptionaltimeoutTotal time budget in milliseconds for the request, including every retry,
poll and the delays between them. false disables the timeout.
Without retry or poll the default is 5000. With them, the default is
5000 for each attempt they allow plus the retry backoff and poll intervals
(59000 for poll: true, 18000 for retry: true). A function interval
counts as 1000. There is no default timeout when that budget is unbounded,
for example retries: Infinity.
MDN Reference