Avatar
Avatar
Iceman
@swift-5.9.2 -Xfrontend -parse-as-library import Foundation @main struct Main { static func main() async { print(Thread.isMainThread) await Task { print(Thread.isMainThread) }.value } }
true false