@flowscripter/pluggable-io-framework
    Preparing search index...

    Function withRetry

    • 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.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>