|
|
|
|
|
by sebstefan
587 days ago
|
|
You're returning a promise, that's a red function. It's async https://journal.stuffwithstuff.com/2015/02/01/what-color-is-... Sleep() should halt, this returns immediately If I want my code to actually halt, I can either make myself red and use await on your red function, or I resign myself to put everything after the sleep in a .then() |
|