await on synchronous functions

Mark Volkmann r.mark.volkmann at
Fri Jul 17 17:09:45 UTC 2015

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list