# AnyAsyncFunction

# Type Alias: AnyAsyncFunction()

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

Defined in: [types.ts:9](https://github.com/TanStack/pacer/blob/main/packages/pacer/src/types.ts#L9)

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

## Parameters

### args

...`any`[]

## Returns

`Promise`\<`any`\>
