Yeah essentially although I'd think of it more as sugar for:
(async () => { await null; ... })()
On Aug 17, 2017 4:17 PM, "Tab Atkins Jr." wrote:
> On Thu, Aug 17, 2017 at 12:12 PM, Matthew Robb
> wrote:
> > Honestly have there been any proposals for something like `do async { //
> can
> > awa
On Thu, Aug 17, 2017 at 12:12 PM, Matthew Robb wrote:
> Honestly have there been any proposals for something like `do async { // can
> await here }` which would produce a promise in the enclosing scope
Do-expressions haven't advanced in general yet, but if/when they do,
this seems like it might
Honestly have there been any proposals for something like `do async { //
can await here }` which would produce a promise in the enclosing scope
- Matthew Robb
On Thu, Aug 17, 2017 at 11:27 AM, Logan Smyth wrote:
> `setTimeout` it is defined in the HTML spec, https://www.w3.org/TR/html5/
> sin
`setTimeout` it is defined in the HTML spec,
https://www.w3.org/TR/html5/single-page.html#timers, not the ECMA spec. The
ECMA spec has no concept of time-based delays at all, promise-based or
otherwise.
On Wed, Aug 16, 2017 at 11:03 PM, Naveen Chawla
wrote:
> An in built `Promise` version of `se
4 matches
Mail list logo