mirror of
https://github.com/swift-server/RediStack.git
synced 2026-05-03 07:32:28 +00:00
fix AsyncStream polyfill swift<5.9 (#101)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user