I have the following code which works but I don\'t like to use
await new Promise(resolve => setTimeout(resolve, 10000));
I would like to c