Resource management

Isiah Meadows isiahmeadows at
Sat Dec 31 16:33:45 UTC 2016

Not enough. Not looking for an `await` replacement, but something
closer to Python's `with` statement or Java's `try`-with-resources.
Or, if you want something


JavaScript's idioms tend towards Python, Java, C#, etc. in how
resources are handled, so things like Ruby's `begin`-`ensure` wouldn't
work as well (that was where I got my generator workaround from,
actually, and as you can see, it's not exactly very obvious).

Isiah Meadows
me at

On Fri, Dec 30, 2016 at 2:03 AM, J Decker <d3ck0r at> wrote:
> Just a shot; but something ilke deasync ?
> it's not so much about ordering wait in the current code, but the current
> code within outer code that's the issue somehow?

More information about the es-discuss mailing list