Skip to content

Version 0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@rbuckton rbuckton released this 25 May 15:37
· 13 commits to master since this release

Updated CancellationTokenSource to align with the current spec proposal at http://github.com/tc39/proposal-cancellation. In the current proposal, source.cancel() does not return a Promise but instead raises via the HostReportError internal operation which is emulated via a call to setTimeout.

NOTE: This is a breaking change for anyone depending on the return value of source.cancel().