@@ -33,7 +33,7 @@ extension TaskGroup {
33
33
/// - operation: The operation to execute as part of the task group.
34
34
@_alwaysEmitIntoClient
35
35
public mutating func _addTask(
36
- on taskExecutorPreference: any _TaskExecutor ,
36
+ on taskExecutorPreference: some _TaskExecutor ,
37
37
priority: TaskPriority ? = nil ,
38
38
operation: __owned @Sendable @escaping ( ) async -> ChildTaskResult
39
39
) {
@@ -70,7 +70,7 @@ extension TaskGroup {
70
70
/// otherwise `false`.
71
71
@_alwaysEmitIntoClient
72
72
public mutating func _addTaskUnlessCancelled(
73
- on taskExecutorPreference: any _TaskExecutor ,
73
+ on taskExecutorPreference: some _TaskExecutor ,
74
74
priority: TaskPriority ? = nil ,
75
75
operation: __owned @Sendable @escaping ( ) async -> ChildTaskResult
76
76
) -> Bool {
@@ -118,7 +118,7 @@ extension ThrowingTaskGroup {
118
118
/// - operation: The operation to execute as part of the task group.
119
119
@_alwaysEmitIntoClient
120
120
public mutating func _addTask(
121
- on taskExecutorPreference: any _TaskExecutor ,
121
+ on taskExecutorPreference: some _TaskExecutor ,
122
122
priority: TaskPriority ? = nil ,
123
123
operation: __owned @Sendable @escaping ( ) async throws -> ChildTaskResult
124
124
) {
@@ -155,7 +155,7 @@ extension ThrowingTaskGroup {
155
155
/// otherwise `false`.
156
156
@_alwaysEmitIntoClient
157
157
public mutating func _addTaskUnlessCancelled(
158
- on taskExecutorPreference: any _TaskExecutor ,
158
+ on taskExecutorPreference: some _TaskExecutor ,
159
159
priority: TaskPriority ? = nil ,
160
160
operation: __owned @Sendable @escaping ( ) async throws -> ChildTaskResult
161
161
) -> Bool {
@@ -203,7 +203,7 @@ extension DiscardingTaskGroup {
203
203
/// - operation: The operation to execute as part of the task group.
204
204
@_alwaysEmitIntoClient
205
205
public mutating func _addTask(
206
- on taskExecutorPreference: any _TaskExecutor ,
206
+ on taskExecutorPreference: some _TaskExecutor ,
207
207
priority: TaskPriority ? = nil ,
208
208
operation: __owned @Sendable @escaping ( ) async throws -> Void
209
209
) {
@@ -241,7 +241,7 @@ extension DiscardingTaskGroup {
241
241
/// otherwise `false`.
242
242
@_alwaysEmitIntoClient
243
243
public mutating func _addTaskUnlessCancelled(
244
- on taskExecutorPreference: any _TaskExecutor ,
244
+ on taskExecutorPreference: some _TaskExecutor ,
245
245
priority: TaskPriority ? = nil ,
246
246
operation: __owned @Sendable @escaping ( ) async -> Void
247
247
) -> Bool {
@@ -289,7 +289,7 @@ extension ThrowingDiscardingTaskGroup {
289
289
/// - operation: The operation to execute as part of the task group.
290
290
@_alwaysEmitIntoClient
291
291
public mutating func _addTask(
292
- on taskExecutorPreference: any _TaskExecutor ,
292
+ on taskExecutorPreference: some _TaskExecutor ,
293
293
priority: TaskPriority ? = nil ,
294
294
operation: __owned @Sendable @escaping ( ) async throws -> Void
295
295
) {
@@ -327,7 +327,7 @@ extension ThrowingDiscardingTaskGroup {
327
327
/// otherwise `false`.
328
328
@_alwaysEmitIntoClient
329
329
public mutating func _addTaskUnlessCancelled(
330
- on taskExecutorPreference: any _TaskExecutor ,
330
+ on taskExecutorPreference: some _TaskExecutor ,
331
331
priority: TaskPriority ? = nil ,
332
332
operation: __owned @Sendable @escaping ( ) async throws -> Void
333
333
) -> Bool {
0 commit comments