PeerTube/shared/core-utils/common/time.ts

8 lines
127 B
TypeScript
Raw Normal View History

function wait (milliseconds: number) {
return new Promise(resolve => setTimeout(resolve, milliseconds))
}
export {
wait
}