Skip to content

Documentation / @eventkit/base / RetryBackoff

Type Alias: RetryBackoff

ts
type RetryBackoff = "constant" | "linear" | "exponential";

Defines how the delay between retry attempts increases.

  • constant: The delay remains the same for all retry attempts
  • linear: The delay increases linearly with each retry (delay * retryCount)
  • exponential: The delay increases exponentially with each retry (delay * (2^retryCount))

Released under the MIT License.