await setTimeout in async functions
T.J. Crowder
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
> on?
>
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...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170228/317d9122/attachment.html>
More information about the es-discuss
mailing list