mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-29 18:00:51 +01:00
4 lines
112 B
TypeScript
4 lines
112 B
TypeScript
export const sleep = (duration: number) => {
|
|
return new Promise(resolve => setTimeout(resolve, duration));
|
|
};
|