prex

Async coordination primitives and extensions on top of ES6 Promises

OTHER License

Downloads
21.5K
Stars
151
Committers
2

Bot releases are hidden (Show)

prex - Version 0.3.0 Latest Release

Published by rbuckton over 7 years ago

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

prex - Version 0.2.0

Published by rbuckton over 8 years ago

prex - Version 0.1.1

Published by rbuckton over 8 years ago

Adds an additional overload to the delay function to support cancellation.

prex - Version 0.1.0

Published by rbuckton over 8 years ago

Asynchronous coordination for JavaScript and TypeScript.