UNPKG

@iterable/react-native-sdk

Version:
21 lines (20 loc) 653 B
"use strict"; /** * The type of backoff to use when retrying a request. */ export let IterableRetryBackoff = /*#__PURE__*/function (IterableRetryBackoff) { /** * Linear backoff (each retry will wait for a fixed interval) * * EG: 2 seconds, 4 seconds, 6 seconds, 8 seconds, etc. */ IterableRetryBackoff["linear"] = "LINEAR"; /** * Exponential backoff (each retry will wait for an interval that increases exponentially) * * EG: 2 seconds, 4 seconds, 8 seconds, 16 seconds, etc. */ IterableRetryBackoff["exponential"] = "EXPONENTIAL"; return IterableRetryBackoff; }({}); //# sourceMappingURL=IterableRetryBackoff.js.map