Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Firestore][POC] LoadBundle progress async stream
Added a proof-of-concept API for reporting bundle loading task progress via an AsyncThrowingStream. Example Usage: let bundleData: Data = // some Data() do { for try await progress in Firestore.firestore().loadBundle(bundleData).taskProgress { print("LoadBundleTask Progress: \(progress)") } print("LoadBundleTask done.") } catch { print("LoadBundleTask Error: \(error)") }
- Loading branch information