raul.mihaila at gmail.com
Thu Dec 29 14:05:42 UTC 2016
I agree, but note that a resolved promise is not the same as a fulfilled
On Thu, Dec 29, 2016 at 11:40 AM, Jordan Harband <ljharb at gmail.com> wrote:
> You'd need to wrap the body of your `open` function in a try/finally, and
> do the `fsp.close` in the `finally` block - but otherwise that would
> certainly work, provided that the promise returned from `func` did actually
> settle (resolve or reject).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss