diff --git a/Sources/NIO/EventLoopFuture.swift b/Sources/NIO/EventLoopFuture.swift index 5bb5c3a78..6b90e60c7 100644 --- a/Sources/NIO/EventLoopFuture.swift +++ b/Sources/NIO/EventLoopFuture.swift @@ -935,7 +935,7 @@ extension EventLoopFuture { } } -extension EventLoopFuture { +public extension EventLoopFuture { /// Returns an `EventLoopFuture` that fires when this future completes, but executes its callbacks on the /// target event loop instead of the original one. /// @@ -947,7 +947,7 @@ extension EventLoopFuture { /// - parameters: /// - target: The `EventLoop` that the returned `EventLoopFuture` will run on. /// - returns: An `EventLoopFuture` whose callbacks run on `target` instead of the original loop. - func hopTo(eventLoop target: EventLoop) -> EventLoopFuture { + public func hopTo(eventLoop target: EventLoop) -> EventLoopFuture { if target === self.eventLoop { // We're already on that event loop, nothing to do here. Save an allocation. return self