Skip to content

Commit

Permalink
Updated README.md;
Browse files Browse the repository at this point in the history
Fixed bug with clearing the internal timer when promise resolving/rejecting;
  • Loading branch information
DigitalBrainJS committed Sep 24, 2020
1 parent 93032bb commit f96a103
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

For changes before version 0.4.0, please see the commit history

## [0.4.2] - 2020-09-25

### Fixed

- Bug with clearing the internal timer when promise resolving/rejecting;

## [0.4.1] - 2020-09-23

### Updated

- Documentation

## [0.4.0] - 2020-09-20

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
- [Live examples](#live-examples)
- [Abortable fetch with timeout support](#abortable-fetch-with-timeout)
- [Abortable axios request wrapper](#abortable-axios-request-wrapper)
- [Progress capturing example](#progress-capturing-example)
- [How it works](#how-it-works)
- [Installation](#installation-hammer)
- [NPM/Yarn](#using-npmyarn)
- [CDN](#cdn)
- [Playground](#playground)
- [Progress capturing example](#progress-capturing-example)
- [Using Generators](#using-generators)
- [API Reference](#api-reference)
- [CPromise](#cpromisecpromise--codepromisecode)
Expand Down
2 changes: 1 addition & 1 deletion jsdoc2md/README.hbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
- [Live examples](#live-examples)
- [Abortable fetch with timeout support](#abortable-fetch-with-timeout)
- [Abortable axios request wrapper](#abortable-axios-request-wrapper)
- [Progress capturing example](#progress-capturing-example)
- [How it works](#how-it-works)
- [Installation](#installation-hammer)
- [NPM/Yarn](#using-npmyarn)
- [CDN](#cdn)
- [Playground](#playground)
- [Progress capturing example](#progress-capturing-example)
- [Using Generators](#using-generators)
- [API Reference](#api-reference)
- [CPromise](#cpromisecpromise--codepromisecode)
Expand Down
2 changes: 1 addition & 1 deletion lib/c-promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ class CPromiseScope extends TinyEventEmitter {
}

if (ms > 0) {
setTimeout(() => {
this[_timer]= setTimeout(() => {
this.cancel('timeout');
}, (this[_timeout] = ms));
}
Expand Down

0 comments on commit f96a103

Please sign in to comment.