We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6293a9a commit 4b48b80Copy full SHA for 4b48b80
dist/prow.js
@@ -35,13 +35,13 @@
35
if (timelimit) {
36
timeoutReject = setTimeout(reject.bind(this, "PROW TIMEOUT"), timelimit);
37
}
38
- defer.resolve = function() {
+ defer.resolve = function(result) {
39
clearTimeout(timeoutResolve);
40
resolve.apply(this, arguments);
41
};
42
- defer.reject = function() {
+ defer.reject = function(reason) {
43
clearTimeout(timeoutReject);
44
- reject.apply(this);
+ reject.apply(this, arguments);
45
46
});
47
return defer;
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "prow",
3
- "version": "0.2.1",
+ "version": "0.2.2",
4
"description": "JS Promises Flow Lib",
5
"main": "dist/prow.js",
6
"scripts": {
0 commit comments