Backoff policies
The eridu-tech/backoff-policies component
The eridu-tech/backoff-policies component
The eridu-tech/codec component provides seamless way to encode/decode data.
The eridu-tech/collection component provides a fluent, convenient wrapper for working with a Array, Iterable and AsyncIterable.
The eridu-tech/config-accessor component provides standardized type-safe access to domain configuration variables. It supports optional schema validation useful accessing dynamic configurations (e.g tenneat configurations).
The eridu-tech/env-accessor component provides easy type-safe access to enviroment variables.
The ErrorPolicy type determines which errors should be handled for example in resilience middlewares like retry or fallback.
The eridu-tech/file-size component provides an easy way for defining, manipulating, and comparing file size. Furthermore, it is designed for easy integration with external file-size libraries.
The eridu-tech/generic-pool component reuses expensive resources instead of creating a new one for every call. The examples below pool SFTP connections created with ssh2-sftp-client, which are slow to open and cannot be shared by concurrent operations.
An Invocable represents a callable entity, which can be either:
The eridu-tech/resilience component provides predefined fault tolerant middlewares.
The eridu-tech/serde component provides seamless way to serialize/deserialize data and adding custom serialization/deserialization logic for custom data types.
The eridu-tech/time-span component provides an easy way for defining, manipulating, and comparing durations. Furthermore, it is designed for easy integration with external time libraries like Luxon and Dayjs.