Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Future.done() and Future#done() #111

Merged
merged 1 commit into from
Jun 1, 2017
Merged

Add Future.done() and Future#done() #111

merged 1 commit into from
Jun 1, 2017

Conversation

Avaq
Copy link
Member

@Avaq Avaq commented Jun 1, 2017

Closes #79 "for real this time"

Closes #79 "for real this time"
if(!isFunction(callback)) invalidArgument('Future#done', 0, 'to be a Function', callback);
return this._fork(function Future$done$rej(x){ callback(x) },
function Future$done$res(x){ callback(null, x) });
};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm starting to see the appeal to your style of indentation, @davidchambers :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁

@codecov-io
Copy link

codecov-io commented Jun 1, 2017

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #111   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          45     46    +1     
  Lines        1074   1086   +12     
=====================================
+ Hits         1074   1086   +12
Impacted Files Coverage Δ
src/core.js 100% <100%> (ø) ⬆️
src/dispatchers/done.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 484b6f9...733c89b. Read the comment docs.

@Avaq Avaq merged commit 2d09e89 into master Jun 1, 2017
@Avaq Avaq deleted the avaq/done branch June 1, 2017 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants