prom-utils
Advanced tools
Changelog
0.11.0
rateLimit
should remove an item if it has rejected.rateLimit
- .finish
swallows exceptions.rateLimit
- Added length
getter.batchQueue
- Added length
getter.pausable.proceed
changed to pausable.maybeBlock
.Changelog
0.10.0
throughputLimiter
- Limit throughput (items/sec).sleep
- Sleep for time
ms before resolving the Promise.batchQueue
- Added maxItemsPerSec
and maxBytesPerSec
options for throughput throttling.Changelog
0.9.0
any
.rateLimit
- Changed the return type of the finish
method to Promise<void>
.Changelog
0.8.0
waitUntil
- Wait until the predicate returns truthy or the timeout expires.batchQueue
.