UNPKG
@cleotasks/core
Version:
latest (1.0.11)
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.4
1.0.3
1.0.2
1.0.0
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
A distributed task queue system for Node.js, inspired by Celery and BullMQ
@cleotasks/core
/
dist
/
utils
/
retryWithBackoff.d.ts
2 lines
(1 loc)
•
129 B
TypeScript
View Raw
1
2
export
declare
function
retryWithBackoff<T>(
operation
:
() =>
Promise
<T>,
maxRetries
?:
number
,
baseDelayMs
?:
number
):
Promise
<T>;