Skip to content

Commit

Permalink
Updated CHANGELOG.md;
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Oct 16, 2020
1 parent 6bb1cb5 commit 990f481
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

For changes before version 0.4.0, please see the commit history

## [0.5.2] - 2020-10-16

### Fixed
- README examples & jsdoc notations

## [0.5.1] - 2020-10-14

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ returns a promise that fulfills or rejects as soon as one of the promises in an
<a name="module_CPromise..CPromise.from"></a>

#### CPromise.from(thing, [resolveSignatures]) ⇒ <code>CPromise</code>
Converts thing to CPromise using the following rules:- CPromise instance returns as is- Objects with special method defined with key `Symbol.for('toCPromise')` will be converted using this method The result will be cached for future calls- Thenable wraps into a new CPromise instance, if thenable has the `cancel` method it will be used for canceling- Generator function will be resolved to CPromise- Array will be resoled via `CPromise.all`, arrays with one element (e.g. `[[1000]]`) will be resolved via `CPromise.race`- Number will be converted to `CPromise.delay`This method returns null if the conversion failed.
Converts thing to CPromise using the following rules:- CPromise instance returns as is- Objects with special method defined with key `Symbol.for('toCPromise')` will be converted using this method The result will be cached for future calls- Thenable wraps into a new CPromise instance, if thenable has the `cancel` method it will be used for canceling- Generator function will be resolved to CPromise- Array will be resoled via `CPromise.all`, arrays with one element (e.g. `[[1000]]`) will be resolved via `CPromise.race`This method returns null if the conversion failed.

**Kind**: static method of [<code>CPromise</code>](#module_CPromise..CPromise)

Expand Down
1 change: 0 additions & 1 deletion lib/c-promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,6 @@ class CPromise extends Promise {
* - Thenable wraps into a new CPromise instance, if thenable has the `cancel` method it will be used for canceling
* - Generator function will be resolved to CPromise
* - Array will be resoled via `CPromise.all`, arrays with one element (e.g. `[[1000]]`) will be resolved via `CPromise.race`
* - Number will be converted to `CPromise.delay`
*
* This method returns null if the conversion failed.
* @param {*} thing
Expand Down

0 comments on commit 990f481

Please sign in to comment.