Alex Stan
6761a2b0d0
Co-authored-by: Alex Stan <alex.stan.2010@proton.me> Co-committed-by: Alex Stan <alex.stan.2010@proton.me>
5 lines
No EOL
127 B
TypeScript
5 lines
No EOL
127 B
TypeScript
const wait = (time: number): Promise<void> => {
|
|
return new Promise( res => setTimeout( res, time ) );
|
|
}
|
|
|
|
export default wait; |