UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

11 lines (10 loc) 304 B
export declare function useConcurrentRequests<T>(requests: (() => Promise<T>)[], options?: { maxConcurrent?: number; onComplete?: (results: (T | null)[]) => void; }): { results: (T | null)[]; errors: (Error | null)[]; loading: boolean; progress: number; retry: () => void; };