On Wed, Oct 9, 2019 at 11:17 PM Andrea Giammarchi
wrote:
> > What's the order of the logs?
>
> Exactly the same, as the `await?` is inevitably inside an `async` function
> which would grant a single microtask instead of N.
I think you're misreading my example? Check this out:
> What's the order of the logs?
Exactly the same, as the `await?` is inevitably inside an `async` function
which would grant a single microtask instead of N.
Example:
```js
async function tasks() {
await? maybeAsync();
await? maybeAsync();
await? maybeAsync();
}
tasks();
```
If
2 matches
Mail list logo