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
1111public typealias Future = EventLoopFuture
1212
1313extension 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 > {
1515 return Future . whenAll ( Array ( self ) , eventLoop: eventLoopGroup. next ( ) )
1616 }
1717}
1818
1919extension Collection {
20- public func flatMap< S, T> (
20+ internal func flatMap< S, T> (
2121 to type: T . Type ,
2222 on eventLoopGroup: EventLoopGroup ,
2323 _ callback: @escaping ( [ S ] ) throws -> Future < T >
@@ -55,7 +55,7 @@ extension Dictionary where Value : FutureType {
5555 }
5656}
5757extension Future {
58- public func flatMap< T> (
58+ internal func flatMap< T> (
5959 to type: T . Type = T . self,
6060 _ callback: @escaping ( Expectation ) throws -> Future < T >
6161 ) -> Future < T > {
You can’t perform that action at this time.
0 commit comments