File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,15 +107,15 @@ extension Task {
107107 name : String ? = nil , // Introduced by SE-0469
108108 priority : TaskPriority? = nil ,
109109 executorPreference taskExecutor : consuming (any TaskExecutor)? = nil ,
110- @_inheritActorContext(always) operation: sending @escaping async throws (Failure) -> Success
110+ @_inheritActorContext(always) operation: sending @escaping () async throws (Failure) -> Success
111111 ) -> Task< Success, Failure>
112112
113113 @discardableResult
114114 public static func immediateDetached (
115115 name : String ? = nil , // Introduced by SE-0469
116116 priority : TaskPriority? = nil ,
117117 executorPreference taskExecutor : consuming (any TaskExecutor)? = nil ,
118- @_inheritActorContext(always) operation: sending @escaping async throws (Failure) -> Success
118+ @_inheritActorContext(always) operation: sending @escaping () async throws (Failure) -> Success
119119 ) -> Task< Success, Failure>
120120}
121121```
You can’t perform that action at this time.
0 commit comments