• #Sleep Promise

    const sleep = (t: number) => new Promise(r => setTimeout(r, t));