I tried to compile the async/await for on swift-5.5-DEVELOPMENT-SNAPSHOT-2021-05-30-a-ubuntu20.04
but get this error. Is async/await available on Linux?
url.swift:34:36: error: type of expression is ambiguous
without more context
let (data, response) = try await URLSession.shared.data(from: url)
~~~~^~~~~~~~~~~~~~~~~~~~~
1
0
1.4k