Skip to content

Commit d2cd089

Browse files
committed
Bump version of Swift async algorithms
1 parent 9db5e00 commit d2cd089

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

Copilot for Xcode.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
isa = PBXProject;
449449
attributes = {
450450
BuildIndependentTargetsInParallel = 1;
451-
LastSwiftUpdateCheck = 1420;
451+
LastSwiftUpdateCheck = 1520;
452452
LastUpgradeCheck = 1410;
453453
TargetAttributes = {
454454
C814588B2939EFDC00135263 = {

Core/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ let package = Package(
8989
],
9090
dependencies: [
9191
.package(path: "../Tool"),
92-
.package(url: "https://github.com/apple/swift-async-algorithms", from: "0.1.0"),
92+
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"),
9393
.package(url: "https://github.com/gonzalezreal/swift-markdown-ui", from: "2.1.0"),
9494
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.0.0"),
9595
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.12.1"),

Core/Sources/Service/RealtimeSuggestionController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public actor RealtimeSuggestionController {
8181
}
8282

8383
if #available(macOS 13.0, *) {
84-
for await _ in valueChange.throttle(for: .milliseconds(200)) {
84+
for await _ in valueChange._throttle(for: .milliseconds(200)) {
8585
if Task.isCancelled { return }
8686
await handler()
8787
}
@@ -103,7 +103,7 @@ public actor RealtimeSuggestionController {
103103
}
104104

105105
if #available(macOS 13.0, *) {
106-
for await _ in selectedTextChanged.throttle(for: .milliseconds(200)) {
106+
for await _ in selectedTextChanged._throttle(for: .milliseconds(200)) {
107107
if Task.isCancelled { return }
108108
await handler()
109109
}

Tool/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ let package = Package(
5252
// TODO: Update LanguageClient some day.
5353
.package(url: "https://github.com/ChimeHQ/LanguageClient", exact: "0.3.1"),
5454
.package(url: "https://github.com/ChimeHQ/LanguageServerProtocol", exact: "0.8.0"),
55-
.package(url: "https://github.com/apple/swift-async-algorithms", from: "0.1.0"),
55+
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"),
5656
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.12.1"),
5757
.package(url: "https://github.com/ChimeHQ/JSONRPC", exact: "0.6.0"),
5858
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.6.0"),

0 commit comments

Comments
 (0)