I am about to try passing an async function to a promise .then. This will do what I expect, right? Like, it will call the async function with the arguments, the async function will return a promise (because that's what happens when you call an async function) and then it will wait on the returned promise? Right?

@falken @mcc or `const values = await Promise.all(promises)` to reuse the vocabulary used in the snippet. the next line would be whatever happens in `.then`

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.