1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/utils/time.ts
2023-03-21 17:31:43 +00:00

6 lines
150 B
TypeScript

/* eslint-disable import/prefer-default-export */
export const sleep = (ms: number) => {
return new Promise(resolve => setTimeout(resolve, ms));
};