2 ms·
Absolutely, unless you’re using node or library functions that require callbacks. Even then there is usually a non-callback-based alternative or you can wrap in
by stevula 5y ago
Absolutely, unless you’re using node or library functions that require callbacks. Even then there is usually a non-callback-based alternative or you can wrap in a promise to use async/await.