poelstra / ts-promise

TS-Promise - fast, robust, type-safe promises
MIT License
45 stars 4 forks source link

Please add Promise.dispose() and Disposer analogous to Bluebird #5

Open rogierschouten opened 9 years ago

rogierschouten commented 9 years ago

Doing resource management outside of the promise library is likely error-prone, as the Bluebird manual suggests in https://github.com/petkaantonov/bluebird/blob/master/API.md#resource-management

poelstra commented 9 years ago

Yes, good idea, was on my todo already.

On 3 juli 2015 15:18:28 GMT+07:00, Rogier Schouten notifications@github.com wrote:

Doing resource management outside of the promise library is likely error-prone, as the Bluebird manual suggests in https://github.com/petkaantonov/bluebird/blob/master/API.md#resource-management


Reply to this email directly or view it on GitHub: https://github.com/poelstra/ts-promise/issues/5