cancelable-awaiter
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "cancelable-awaiter", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A replacement for Typescript's default awaiter helper that supports Bluebird promise cancellations.", | ||
"keywords": [ | ||
"cancelable", | ||
"cancellable", | ||
"awaiter", | ||
"__awaiter", | ||
"typescript", | ||
"bluebird", | ||
"async", | ||
"await", | ||
"promise", | ||
"cancel", | ||
"tslib", | ||
"ts-helpers" | ||
], | ||
"main": "index.js", | ||
@@ -6,0 +20,0 @@ "typings": "index.d.ts", |
@@ -21,2 +21,4 @@ # Cancelable Awaiter | ||
Note that in order for the above to work you also need to compile your project with the `--importHelpers` flag and install the `tslib` module. | ||
Then async/await syntax can be used in conjunction with promise cancellations: | ||
@@ -23,0 +25,0 @@ |
9482
45