File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version: 6.1
1
+ // swift-tools-version: 6.2
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
5
5
6
6
let package = Package (
7
7
name: " async-swiftly " ,
8
8
platforms: [
9
- . macOS( . v15 ) ,
9
+ . macOS( . v26 ) ,
10
10
] ,
11
11
products: [
12
12
. library(
Original file line number Diff line number Diff line change @@ -103,8 +103,7 @@ public struct TestingTaskGroup<ObservationElement: Sendable>: ~Copyable {
103
103
public mutating func addTask( at rawStep: Int , operation: sending @escaping @isolated ( any) ( ) async -> Void ) {
104
104
let instant = Clock . Instant ( when: . step( rawStep) )
105
105
let executor = OperationExecutor ( instant: instant, queue: queue)
106
-
107
- group. addTask { [ queue] in
106
+ group. addImmediateTask { [ queue] in
108
107
await withTaskExecutorPreference ( executor, operation: operation)
109
108
queue. markAsReadyToComplete ( instant)
110
109
}
You can’t perform that action at this time.
0 commit comments