UNPKG

@re-shell/cli

Version:

Full-stack development platform uniting microservices and microfrontends. Build complete applications with .NET (ASP.NET Core Web API, Minimal API), Java (Spring Boot, Quarkus, Micronaut, Vert.x), Rust (Actix-Web, Warp, Rocket, Axum), Python (FastAPI, Dja

16 lines (15 loc) 634 B
export declare class AsyncPool { private concurrency; private running; private queue; constructor(concurrency?: number); add<T>(fn: () => Promise<T>): Promise<T>; private process; waitForAll(): Promise<void>; } export declare class OperationLock { private static locks; static acquire(key: string): Promise<() => void>; } export declare function debounceAsync<T extends any[], R>(fn: (...args: T) => Promise<R>, delay: number): (...args: T) => Promise<R>; export declare function retryWithBackoff<T>(fn: () => Promise<T>, maxRetries?: number, initialDelay?: number, maxDelay?: number): Promise<T>;