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 {
107
107
name : String ? = nil , // Introduced by SE-0469
108
108
priority : TaskPriority? = nil ,
109
109
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
111
111
) -> Task< Success, Failure>
112
112
113
113
@discardableResult
114
114
public static func immediateDetached (
115
115
name : String ? = nil , // Introduced by SE-0469
116
116
priority : TaskPriority? = nil ,
117
117
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
119
119
) -> Task< Success, Failure>
120
120
}
121
121
```
You can’t perform that action at this time.
0 commit comments