@shadlib/awaitable
v0.5.2
Published
An approximately minimal Promise implementation in with copious debug output
Downloads
2
Readme
Awaitable
An approximately minimal Promise implementation in Typescript with copious debug output
I wrote this as an aside to creating a way to manage long-running tasks, which I thought might as well conform to the Promise Spec. After attempting to modify that code to pass the test suite I decided it would be better to work the other way around: create a confirmant promise implementation from scratch, then add the other features to it. This is that promise implementation, made available as a separate library prior to adding any additional features.
npm run dopen
(in a bash shell) will install dependencies, build, test, and open the test results, coverage report, and generated documentation. (If it doesn't work for you, please open an issue.)