The function to call
The maximum number of times to call the function before giving up. Pass -1 to retry forever.
The number of milliseconds to wait between calls
Optionaloptions: Partial<WithRetryOptions>Options for controlling the behavior of the retry. See WithRetryOptions.
Call a function until it succeeds. Will stop after the number of calls specified by
maxCallsparam, or forever if -1 is passed.