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

Use Future#successful in pureEval when possible #1019

Merged
merged 1 commit into from May 6, 2016
Merged

Use Future#successful in pureEval when possible #1019

merged 1 commit into from May 6, 2016

Commits on May 6, 2016

  1. Use Future#successful in pureEval when possible

    Since `Now` already has performed the work required to calculate the
    result value, we can lift the result into a Future using
    `Future#successful` instead of unwrapping the `Now` inside the block run
    by the `Future` (which potentially has to use another thread).
    Alejandro Gómez committed May 6, 2016
    Configuration menu
    Copy the full SHA
    0e13ff9 View commit details
    Browse the repository at this point in the history