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

reduce use of org.apache.pekko.dispatch.Futures #1418

Closed
wants to merge 2 commits into from

Conversation

pjfanning
Copy link
Contributor

see #1417

Some of the methods in org.apache.pekko.dispatch.Futures don't have simple equivalents but these methods are not needed:

  • promise
  • failed
  • successful

@pjfanning
Copy link
Contributor Author

pjfanning commented Jul 29, 2024

Even promise and failed are a bit messy to replace - so I'm going to close this.

Future.failed is on a companion object so to access it from Java, you would need something like Future$.MODULE$.failed.

It really seems tidier to have the Futures utility class for Java users.

@pjfanning pjfanning closed this Jul 29, 2024
@pjfanning pjfanning deleted the reduce-use-futures-object branch July 29, 2024 17:04
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.

1 participant