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

implement successfulAsList method of Guava ListenableFuture #197

Closed
Tracked by #194
oldratlee opened this issue Jul 10, 2024 · 0 comments
Closed
Tracked by #194

implement successfulAsList method of Guava ListenableFuture #197

oldratlee opened this issue Jul 10, 2024 · 0 comments
Assignees

Comments

@oldratlee
Copy link
Member

oldratlee commented Jul 10, 2024

subtask of #194

successfulAsList() method is similar to cffu#mostSuccessOf() without timeout parameters, simpler and nice.

According the naming convention/features of cffu, the implementing methods are:

  • Factory Methods
    • mSupplyAllSuccessAsync()
    • tupleMSupplyAllSuccessAsync()
    • allSuccessResultsOf()
    • allSuccessTupleOf()
  • Instance Methods
    • thenMApplyAllSuccessAsync()
    • thenTupleMApplyAllSuccessAsync()

📝 Implementation Note

  • The signature of allSuccess* method is same as the homologous mostSuccess* method expect without 2 timeout parameters.
  • The position order of allSuccess* method is before mostSuccess* method.
    (because allSuccess* method is simpler and more straightforward.)
@oldratlee oldratlee changed the title 🆙 implement successfulAsList method of Guava ListenableFuture Jul 10, 2024
@oldratlee oldratlee added the ✨ feature New feature label Jul 10, 2024
oldratlee added a commit that referenced this issue Jul 11, 2024
oldratlee added a commit that referenced this issue Jul 11, 2024
oldratlee added a commit that referenced this issue Jul 12, 2024
oldratlee added a commit that referenced this issue Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants