resilience 0.1.1
resilience: ^0.1.1 copied to clipboard
Retry with backoff and jitter, circuit breaker, timeout, rate limiter, and bulkhead policies for reliable async operations. Zero dependencies.
0.1.1 #
- Docs: tightened the README wording and visuals.
0.1.0 #
Initial release.
RetrywithBackoff.none,Backoff.fixed, andBackoff.exponential(factor, cap, and jitter), plusretryIfandonRetryhooks.CircuitBreakerwith consecutive failure threshold, lazy reset timeout, single half-open trial,countAsfilter, andonStateChangehook.Timeoutbuilt onFuture.timeout.RateLimiter: token bucket with steady refill, FIFO waiting, an optional queue bound, anddispose.Bulkhead: concurrency limit with a bounded FIFO queue.ResiliencePipelinefor composing policies, outermost first.