Skip to content

Commit

Permalink
Minor cleanup in README and package file (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed authored Oct 13, 2023
1 parent cd8dd84 commit 6837ecb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ let package = Package(
targets: [
.target(
name: "AsyncQueue",
dependencies: []),
dependencies: [],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency")
]),
.testTarget(
name: "AsyncQueueTests",
dependencies: ["AsyncQueue"],
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func testFIFOQueueOrdering() async {
}
}

nonisolated
func flushQueue() async {
await queue.enqueueAndWait { }
}
Expand Down Expand Up @@ -110,7 +109,6 @@ func testActorQueueOrdering() async {
}
}

nonisolated
func flushQueue() async {
await queue.enqueueAndWait { _ in }
}
Expand Down Expand Up @@ -148,7 +146,6 @@ func testMainActorQueueOrdering() async {
}
}

nonisolated
func flushQueue() async {
await MainActorQueue.shared.enqueueAndWait { }
}
Expand Down

0 comments on commit 6837ecb

Please sign in to comment.