We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2daa005 + b2a9027 commit c644c6aCopy full SHA for c644c6a
stdlib/public/Concurrency/MainActor.swift
@@ -45,6 +45,7 @@ import Swift
45
@available(SwiftStdlib 5.5, *)
46
extension MainActor {
47
/// Execute the given body closure on the main actor.
48
+ @_silgen_name("$sScM3run10resultType4bodyxxm_xyYbKScMYcXEtYaKlFZ")
49
public static func run<T: Sendable>(
50
resultType: T.Type = T.self,
51
body: @MainActor @Sendable () throws -> T
0 commit comments