3 ms·
async/await works with promises, it doesn't replace them.
by AgentME 11y ago
async/await works with promises, it doesn't replace them.
- tracker1 11y agoI think it's important to understand this, as when you are interacting with other modules that return promises, you need to know that you can await those, as well as that async functions return promises that can be used as them without being inside another async function.