3 ms·
This will wait within the function, but won't block the caller.
by denisw 10y ago
This will wait within the function, but won't block the caller.
- Klathmon 10y agowhich is what it should do If you want the caller to "block", then it needs to await or .then() what it's calling.