Duplicated from Minecraft3193092/ai-manga-factory
f5d8038
1
2
3
4
5
6
export const sleep = async (durationInMs: number) => new Promise((resolve) => { setTimeout(() => { resolve(true) }, durationInMs) })