Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

utils.ts

5 lines132 Bytes

1export function sleep(timeout: number): Promise<void> {
2 return new Promise((resolve) => {
3 setTimeout(resolve, timeout)
4 })
5}