0.5.2 • Published 5 years ago

@shadlib/awaitable v0.5.2

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
5 years ago

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.)