From f178b2e6fd5184dcb9091a50e18b2be8470d7509 Mon Sep 17 00:00:00 2001 From: Harvmaster Date: Sun, 19 Jul 2026 16:59:20 +0000 Subject: [PATCH] Fix fn comment --- source/exponential-backoff.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/exponential-backoff.ts b/source/exponential-backoff.ts index b13274f..8b7b8a8 100644 --- a/source/exponential-backoff.ts +++ b/source/exponential-backoff.ts @@ -52,7 +52,7 @@ export class ExponentialBackoff { /** * Run the function with exponential backoff * - * @param fn - The function to run + * @param taskFn - The function to run * @param onError - The callback to call when an error occurs * @param options - The configuration for the exponential backoff * @@ -160,7 +160,7 @@ export class ExponentialBackoff { * * If the function fails and we have hit the max attempts, an ExponentialBackoffMaxRetriesHitError will be thrown with all the errors that were thrown by the task function * - * @param fn - The function to run + * @param taskFn - The function to run * @param onError - The callback to call when an error occurs * * @throws An {@link ExponentialBackoffMaxRetriesHitError} with all the errors that were thrown by the task function