mirror of
https://github.com/markedjs/marked.git
synced 2026-12-01 16:56:16 +01:00
6 lines
111 B
JavaScript
6 lines
111 B
JavaScript
export async function timeout(ms = 1) {
|
|
return new Promise(resolve => {
|
|
setTimeout(resolve, ms);
|
|
});
|
|
}
|