UNPKG

bun-ws-router

Version:

Lightweight client/server WebSocket router for Bun with type-safe Zod/Valibot validation.

10 lines 308 B
/** * Exponential backoff calculation with optional jitter. * See @specs/client.md for backoff formula. */ export declare function calculateBackoff(attempt: number, config: { initialDelayMs: number; maxDelayMs: number; jitter: "full" | "none"; }): number; //# sourceMappingURL=backoff.d.ts.map