Runs fn, retrying only on TransientIOError up to options.maxRetries times with a delay between attempts. Any other error - including a plain Error a provider hasn't wrapped - is treated as non-retryable and rethrown immediately.
fn
TransientIOError
options.maxRetries
Error
Runs
fn, retrying only onTransientIOErrorup tooptions.maxRetriestimes with a delay between attempts. Any other error - including a plainErrora provider hasn't wrapped - is treated as non-retryable and rethrown immediately.