Skip to content

Commit

Permalink
Remove AsyncAlgorithms (#25)
Browse files Browse the repository at this point in the history
throttle -> _throttle
Remove select
  • Loading branch information
brzzdev authored Dec 6, 2023
1 parent 2f8a1b0 commit d631338
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 192 deletions.
18 changes: 0 additions & 18 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
{
"pins" : [
{
"identity" : "swift-async-algorithms",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-async-algorithms",
"state" : {
"branch" : "cf70e78",
"revision" : "cf70e78632e990cd041fef21044e54fa5fdd1c56"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "f504716c27d2e5d4144fa4794b12129301d17729",
"version" : "1.0.3"
}
},
{
"identity" : "swift-concurrency-extras",
"kind" : "remoteSourceControl",
Expand Down
2 changes: 0 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-async-algorithms", revision: "cf70e78"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.0.0"),
Expand All @@ -36,7 +35,6 @@ let package = Package(
name: "ClocksTests",
dependencies: [
"Clocks",
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
]
),
]
Expand Down
168 changes: 0 additions & 168 deletions Tests/ClocksTests/AsyncAlgorithmsTests.swift

This file was deleted.

5 changes: 2 additions & 3 deletions Tests/ClocksTests/TestClocksTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import AsyncAlgorithms
import Clocks
import XCTest

Expand Down Expand Up @@ -100,8 +99,8 @@ final class TestClockTests: XCTestCase, @unchecked Sendable {
#endif

func testRunMultipleUnitsOfWork() async {
let timer = AsyncTimerSequence(interval: .seconds(1), clock: self.clock)
.prefix(10)
let timer = clock.timer(interval: .seconds(1))
.prefix(10)

let task = Task {
var ticks = 0
Expand Down
1 change: 0 additions & 1 deletion Tests/ClocksTests/UnimplementedClockTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if DEBUG && canImport(Darwin)
import AsyncAlgorithms
import Clocks
import XCTest

Expand Down

0 comments on commit d631338

Please sign in to comment.