Skip to content

Commit 622ce44

Browse files
authored
fix AsyncStream polyfill swift<5.9 (#101)
1 parent a476f69 commit 622ce44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Sources/RediStack/Cluster/SwiftPolyfill.swift

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ extension DiscardingTaskGroup: DiscardingTaskGroupProtocol {}
3636

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

0 commit comments

Comments
 (0)