19 lines
770 B
TypeScript
19 lines
770 B
TypeScript
/**
|
|
* Resilience Patterns
|
|
*
|
|
* Production-ready resilience utilities:
|
|
* - Retry with exponential backoff
|
|
* - Circuit breaker pattern
|
|
* - Rate limiting
|
|
*
|
|
* @module v3/shared/resilience
|
|
*/
|
|
export { retry, RetryError } from './retry.js';
|
|
export type { RetryOptions, RetryResult } from './retry.js';
|
|
export { CircuitBreaker } from './circuit-breaker.js';
|
|
export type { CircuitBreakerOptions, CircuitBreakerStats } from './circuit-breaker.js';
|
|
export { SlidingWindowRateLimiter, TokenBucketRateLimiter } from './rate-limiter.js';
|
|
export type { RateLimiter, RateLimiterOptions, RateLimitResult } from './rate-limiter.js';
|
|
export { Bulkhead } from './bulkhead.js';
|
|
export type { BulkheadOptions, BulkheadStats } from './bulkhead.js';
|
|
//# sourceMappingURL=index.d.ts.map
|