> 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: waitSchedule()~~

> **waitSchedule**(): `Promise`\<`void`>

Wait for the next event loop.

It will be useful when you want to wait for the next event loop to finish.

## Returns

`Promise`\<`void`>

## Deprecated

Please use `act` instead
