Interval in seconds between two consecutive polls.
Number of seconds to wait before the first poll.
OptionalinitialOptions passed to the initial setTimeout().
Maximum number of polling attempts (including the first one).
OptionalrecurringOptions passed to every recurring setTimeout().
Parameters for the internal polling loop in
enqueueAndGetInference().Default behavior:
initialDelaySec= 2delaySec= 1.5maxRetries= 80Validation rules:
initialDelaySec>= 1delaySec>= 1maxRetries>= 2The
initialTimerOptionsandrecurringTimerOptionsobjects let you pass anAbortSignalor make the timerref-ed to thesetTimeout().Example