• Type Parameters

    • T

    Parameters

    • operation: () => Promise<T>
    • delay: number
    • retries: number
    • cleanup: () => Promise<void>

    Returns Promise<T>