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 a method that returns BFTask #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

npahucki
Copy link

I recently started using the signatures available in the Parse API that return BFTasks which are a really good way to chain together asynchronous logic. I use your very helpful library in a few of my apps, and it was getting awkward to keep having to switch between BFTasks and block callbacks, so I added a signature that works with BFTask and make the library consistent with other Parse APIs.

One Note: since a BFTask can only be completed once, this signature will fail an assertion if you try to use cache-then-network policy which would try to complete the task twice.

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