@shadlib/awaitable
TypeScript icon, indicating that this package has built-in type declarations

0.5.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @shadlib/awaitable

Weekly Downloads

1

Version

0.5.2

License

AGPL-3.0

Unpacked Size

173 kB

Total Files

20

Last publish

Collaborators

  • shadsterling