Version 0.3.0
Pre-release
Pre-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()
.