await setTimeout in async functions
tj.crowder at farsightsoftware.com
Tue Feb 28 22:06:58 UTC 2017
On Tue, Feb 28, 2017 at 8:14 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:
> In the first example, I haven't written this by accident:
> > also granting you args are those passed at the invocation time and no
> possible mutation capable of affecting `computeResult` could happen later
Okay. With respect, that sentence is *really* unclear, esp. given the
context that it was obvious from the example that it's important that
`computeResult` isn't called until after the delay. But we're all on the
same page now.
-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss