Alepha Retry

Simple, declarative, and powerful automatic retry for failed operations.

Installation

This package is part of the Alepha framework and can be installed via the all-in-one package:

npm install alepha

API Reference

Descriptors

Descriptors are functions that define and configure various aspects of your application. They follow the convention of starting with $ and return configured descriptor instances.

For more details, see the Descriptors documentation.

$retry()

Creates a function that automatically retries a handler upon failure, with support for exponential backoff, max duration, and cancellation.

Table of contents