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

Storage async await #8289

Merged
merged 18 commits into from
Jul 23, 2021
Prev Previous commit
Next Next commit
Only Task
  • Loading branch information
paulb777 committed Jul 23, 2021
commit 25d03865107c365263a9d57d235972705593a80d
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ import XCTest
let fileURL = tmpDirURL.appendingPathComponent("hello.txt")
let data = try XCTUnwrap("Hello Swift World".data(using: .utf8), "Data construction failed")

Task.init {
Task {
_ = try await ref.putDataAsync(data)
let task = ref.write(toFile: fileURL)

Expand Down