You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SE-0343 upgrades Swift’s support for top-level code – think main.swift in a macOS Command Line Tool project – so that it supports concurrency out of the box. This is one of those changes that might seem trivial on the surface, but took a lot of work to make happen.
Urgency
Low
Code Example
import Foundation
leturl=URL(string:"https://hws.dev/readings.json")!
let(data, _)=tryawaitURLSession.shared.data(from: url)letreadings=tryJSONDecoder().decode([Double].self, from: data)print("Found \(readings.count) temperature readings")
The text was updated successfully, but these errors were encountered:
What is your wish?
SE-0343 upgrades Swift’s support for top-level code – think main.swift in a macOS Command Line Tool project – so that it supports concurrency out of the box. This is one of those changes that might seem trivial on the surface, but took a lot of work to make happen.
Urgency
Low
Code Example
The text was updated successfully, but these errors were encountered: