4 ms·
Sure you can. let [a, b] = await Promise.all([asyncA(), asyncB()])
by brentburgoyne 11y ago
Sure you can.
let [a, b] = await Promise.all([asyncA(), asyncB()])
- esailija 11y agoI am referring to usage of generators without promises (or rather code that uses generators in a way that it wouldnt matter if promises or thunks were used). And even then I didn't say that you couldn't, even when using promises and generators together most people make their code unneceasarily sequential.