3 ms·
Is it necessary to mark the sleep function as async? I had the impression every function that returns a promise could be "await"ed.
by k__ 10y ago
Is it necessary to mark the sleep function as async?
I had the impression every function that returns a promise could be "await"ed.