forked from incentfit/HealthKit
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Execute multiple queries synchronously #326
Comments
mohamednagy
changed the title
Execute multiple queries asynchronously
Execute multiple queries synchronously
Apr 24, 2024
what od you mean "synchronously"? Queries are synchronous. If you mean "in parallel", it can't be done. See #294 |
You could serialize queries. First query starts the spinner in success, you start too the second query and in the last, you stop spinner. You could try that :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm doing multiple queries to get steps, calories, sleep and heart rates.
I want to execute those queries synchronsously so I can show the user a spinner till all data got retrieved.
How can execute those queries synchronsously ?
The text was updated successfully, but these errors were encountered: