1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/utils/time.ts

6 lines
150 B
TypeScript
Raw Normal View History

2023-03-21 19:29:22 +02:00
/* eslint-disable import/prefer-default-export */
export const sleep = (ms: number) => {
return new Promise(resolve => setTimeout(resolve, ms));
};