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 support for adding a future into a dispatch group #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Adlai-Holler
Copy link
Contributor

This can be useful when using multiple futures for one composite operation.

@rahul-malik
Copy link
Collaborator

@garrettmoon - Do you think we should merge this? Chris was requested for review but I think someone else needs to commandeer it

* leave when the future completes. If the future
* is already completed, this method has no effect.
*/
- (void)addToDispatchGroup:(dispatch_group_t)dispatchGroup;
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if this is the best way to expose the composite future feature you're suggesting?

Separately, I think it would be more PINFuture-y to have this in a category and import it below?

@garrettmoon
Copy link
Contributor

No need to commandeer, I'm happy to review (sorry this took me so long to look at, my notification queue fell off the first page :( )

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.

3 participants