Skip to content

Commit

Permalink
qpm: 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
benlau committed Feb 9, 2018
1 parent 87c7638 commit 3279a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Listen the signal, once it is triggered, it will call reject().
Q.promise()
===========

Q.promise() is the creator function of Promise object in a Javascript way. You won't need to declare a QML component before use it. As it is fully compliant with Promise/A+ specification, it is very easy to get started. But it don't support property binding (resolveWhen , rejectWhen) like the Promise QML component.
Q.promise(executor) is the creator function of Promise object in a Javascript way. You won't need to declare a QML component before use it. As it is fully compliant with Promise/A+ specification, it is very easy to get started. But it don't support property binding (resolveWhen , rejectWhen) like the Promise QML component.

However, you may still pass a signal object to resolve()/reject(). In this case, the promise will not change its state until the signal is triggered. If multiple signal call are made, the first signal call takes precedence, and any further calls are ignored.

Expand Down
2 changes: 1 addition & 1 deletion qpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/benlau/quickpromise.git"
},
"version": {
"label": "1.0.5",
"label": "1.0.6",
"revision": "1",
"fingerprint": ""
},
Expand Down

0 comments on commit 3279a6b

Please sign in to comment.