Skip to content

Commit

Permalink
fix AsyncStream polyfill swift<5.9 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntVil authored Dec 11, 2023
1 parent a476f69 commit 622ce44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/RediStack/Cluster/SwiftPolyfill.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ extension DiscardingTaskGroup: DiscardingTaskGroupProtocol {}

#if swift(<5.9)
// This should be removed once we support Swift 5.9+ only
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
extension AsyncStream {
static func makeStream(
of elementType: Element.Type = Element.self,
Expand Down

0 comments on commit 622ce44

Please sign in to comment.