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

syncAlongside API #247

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

syncAlongside API #247

wants to merge 1 commit into from

Conversation

andersio
Copy link
Contributor

@andersio andersio commented Sep 25, 2024

experiment

example:

VitalHealthKitClient.syncAlongside(.activity) { _ in
  await withUnsafeContinuation { continuation in
    // callback based API
    doSomething(
      completion: { continuation.resume() }
    )
  }
}

// All sync-alongside tasks should be registered before this point.
VitalHealthKitClient.automaticConfiguration()

Copy link
Contributor Author

andersio commented Sep 25, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@andersio andersio force-pushed the 09-25-syncalongside_api branch from d7fff12 to ff1127c Compare September 26, 2024 10:55
@andersio andersio force-pushed the 09-25-syncalongside_api branch from ff1127c to 8f5e5bf Compare September 26, 2024 11:00
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