Framework
Version
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference

AnyAsyncFunction

Type Alias: AnyAsyncFunction()

ts
type AnyAsyncFunction = (...args) => Promise<any>;
type AnyAsyncFunction = (...args) => Promise<any>;

Defined in: types.ts:9

Represents an asynchronous function that can be called with any arguments and returns a promise.

Parameters

args

...any[]

Returns

Promise<any>

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.