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

utils.js

5 lines117 Bytes

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