Resource management

Benjamin Gruenbaum benjamingr at
Mon Jan 2 15:03:00 UTC 2017


We've actually worked on this extensively in bluebird with and disposers which give
something similar to the `with` syntax you describe.

There has also been work on a `defer` like abstraction. The tricky parts
were mostly getting it to work with multiple resources at once.

I've been using it for a while now (few years) and I'm generally satisfied.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list