Interface: PollOptions
The options for the poll function
Properties
maximumRetries?
optionalmaximumRetries:null|number
The amount of attempts to try, if any.
Default
Infinite
Defined in
signal?
optionalsignal:AbortSignal
An optional AbortSignal to abort the polling.
Defined in
verbose?
optionalverbose:boolean
Whether to log to the console on each polling interval, allowing the tracing of the amount of required attempts.
Default
false
Defined in
waitBetweenRetries?
optionalwaitBetweenRetries:null|number
The amount of time to wait between each poll.
Default
0