We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e89497 commit b47c3b6Copy full SHA for b47c3b6
Sources/GraphQL/Subscription/EventStream.swift
@@ -27,7 +27,7 @@ open class EventStream<Element> {
27
-> ConcurrentEventStream<To>
28
{
29
let newStream = stream.mapStream(closure)
30
- return ConcurrentEventStream<To>.init(newStream)
+ return ConcurrentEventStream<To>(newStream)
31
}
32
33
Tests/GraphQLTests/SubscriptionTests/SimplePubSub.swift
@@ -35,7 +35,7 @@ import GraphQL
35
)
36
subscribers.append(subscriber)
37
38
- return ConcurrentEventStream<T>.init(asyncStream)
+ return ConcurrentEventStream<T>(asyncStream)
39
40
41
0 commit comments