All files index.ts

100% Statements 9/9
100% Branches 0/0
100% Functions 7/7
100% Lines 9/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                                  1x 15x 3x 2x 3x       1x 6x 3x 4x  
/*
Copyright (c) 2025 Bernier LLC
 
This file is licensed to the client under a limited-use license.
The client may use and modify this code *only within the scope of the project it was delivered for*.
Redistribution or use in other products or commercial offerings is not permitted without written consent from Bernier LLC.
*/
 
// Export types
export type {
  RetryPolicyOptions,
  RetryPolicyResult,
  JitterConfig,
  BackoffConfig
} from './types';
 
// Export main class and functions
export {
  RetryPolicy,
  createRetryPolicy,
  calculateRetryDelay,
  shouldRetry
} from './retry-policy';
 
// Export constants
export {
  DEFAULT_RETRY_OPTIONS,
  DEFAULT_JITTER_CONFIG,
  DEFAULT_BACKOFF_CONFIG
} from './retry-policy';