File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/GraphQL/Utilities Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ import NIO
11
11
public typealias Future = EventLoopFuture
12
12
13
13
extension Collection {
14
- public func flatten< T> ( on eventLoopGroup: EventLoopGroup ) -> Future < [ T ] > where Element == Future < T > {
14
+ internal func flatten< T> ( on eventLoopGroup: EventLoopGroup ) -> Future < [ T ] > where Element == Future < T > {
15
15
return Future . whenAll ( Array ( self ) , eventLoop: eventLoopGroup. next ( ) )
16
16
}
17
17
}
18
18
19
19
extension Collection {
20
- public func flatMap< S, T> (
20
+ internal func flatMap< S, T> (
21
21
to type: T . Type ,
22
22
on eventLoopGroup: EventLoopGroup ,
23
23
_ callback: @escaping ( [ S ] ) throws -> Future < T >
@@ -55,7 +55,7 @@ extension Dictionary where Value : FutureType {
55
55
}
56
56
}
57
57
extension Future {
58
- public func flatMap< T> (
58
+ internal func flatMap< T> (
59
59
to type: T . Type = T . self,
60
60
_ callback: @escaping ( Expectation ) throws -> Future < T >
61
61
) -> Future < T > {
You can’t perform that action at this time.
0 commit comments