Optional ReadonlydataExtra data for status handlers.
Optional ReadonlydelayRetry delays, in milliseconds (no delay by default), or a callback that returns the delays.
Optional ReadonlyerrorError notifications.
Optional ReadonlyretryMaximum number of retries (infinite by default), or a callback to indicate the need for another retry.
Type for options passed into
retryAsyncfunction.