UNPKG

cancel-token

Version:

Implementation of https://github.com/littledan/proposal-cancelable-promises

26 lines (16 loc) 878 B
# Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased <!-- PRs should document their user-visible changes (if any) below this comment. --> ## [0.1.1] - 2016-12-16 * Fixes an npm publish blunder. * Adds basic README.md and CHANGELOG.md ## [0.1.0] - 2016-12-16 * Initial release, with CancelToken and Cancel from the November 23rd, 2016 draft of https://tc39.github.io/proposal-cancelable-promises/ (now withdrawn). * Looks like https://github.com/littledan/proposal-cancelable-promises may be picking up the spec and removing the syntactic parts, leaving just the polyfillable pieces implemented here. * Also includes two non-spec'd but useful methods: isCancelToken and isCancel.