await on synchronous functions
Mark S. Miller
erights at google.com
Fri Jul 17 21:37:38 UTC 2015
Wait for the next turn/job or the event loop.
On Fri, Jul 17, 2015 at 10:09 AM, Mark Volkmann <r.mark.volkmann at gmail.com>
wrote:
> I know the spec for this isn't finalized, but what is the current
> direction for the behaviour when await is used on a function that is not
> marked async and doesn't return a Promise? Should it run immediately or
> wait for the next turn of the event loop?
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150717/1ff2cb82/attachment.html>
More information about the es-discuss
mailing list