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