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

Switch from using ListenableFuture to CompletableFuture #1058

Closed
wants to merge 1 commit into from

Conversation

zml2008
Copy link
Member

@zml2008 zml2008 commented Feb 2, 2016

SpongeAPI PR | SpongeCommon PR

CompletableFuture is the jdk8 equivalent of guava's ListenableFuture
class, with similar capabilities but better lambda integration.

There shouldn't be any reason to prefer guava classes over java classes, but this PR is here in case anyone wants to discuss that.

CompletableFuture is the jdk8 equivalent of guava's ListenableFuture
class, with similar capabilities but better lambda integration.
@zml2008
Copy link
Member Author

zml2008 commented Feb 28, 2016

@kashike probably something like https://gist.github.com/anonymous/89f6c2093204bc82c40a -- untested, you'd have to mess around a bit.

zml2008 added a commit that referenced this pull request Feb 28, 2016
CompletableFuture is the jdk8 equivalent of guava's ListenableFuture
class, with similar capabilities but better lambda integration.

Closes #1058
@zml2008 zml2008 closed this Feb 28, 2016
windy1 pushed a commit that referenced this pull request Feb 28, 2016
CompletableFuture is the jdk8 equivalent of guava's ListenableFuture
class, with similar capabilities but better lambda integration.

Closes #1058
@gabizou gabizou deleted the feature/update-futures branch March 5, 2016 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants