I know HealthKit executes queries asynchronously on a background queue,
it query in back queue, but The method should not block the current thread
just code like this,why cost 3.5m?
print("execute begin:(Date().timeIntervalSince1970)")
HKHealthStore().execute(query)
print("execute end:(Date().timeIntervalSince1970)")
Topic:
App & System Services
SubTopic:
Health & Fitness