搜索文档
Home > @lynx-js/react/testing-library > waitSchedule
Wait for the next event loop.
It will be useful when you want to wait for the next event loop to finish.
Signature:
export function waitSchedule(): Promise<void>;
Returns:
Promise<void>