> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: act()

> **act**(`callback`: () => `void` | `Promise`\<`void`>): `Promise`\<`void`>

## Parameters

| Parameter  | Type                               |
| ---------- | ---------------------------------- |
| `callback` | () => `void` \| `Promise`\<`void`> |

## Returns

`Promise`\<`void`>
