Change comment: aborted -> activated
This commit is contained in:
@@ -225,9 +225,9 @@ export class ExponentialBackoff {
|
||||
break;
|
||||
}
|
||||
|
||||
// Check if the abort signal has been aborted
|
||||
// Check if the abort signal has been activated
|
||||
if (abortController.signal.aborted) {
|
||||
// Throw an error if the abort signal has been aborted
|
||||
// Throw an error if the abort signal has been activated
|
||||
throw new ExponentialBackoffStoppedRetriesError(abortController.signal.reason);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user