Generic async function type for type-safe async function signatures.
Ensures Promise return types are properly handled in utility functions that work with async operations.
function retry<A extends any[], R>(fn: AsyncFunc<A, R>, attempts: number): AsyncFunc<A, R>function withTimeout<A extends any[], R>(fn: AsyncFunc<A, R>, ms: number): AsyncFunc<A, R> Copy
function retry<A extends any[], R>(fn: AsyncFunc<A, R>, attempts: number): AsyncFunc<A, R>function withTimeout<A extends any[], R>(fn: AsyncFunc<A, R>, ms: number): AsyncFunc<A, R>
Generic async function type for type-safe async function signatures.
Ensures Promise return types are properly handled in utility functions that work with async operations.