You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Thanks! I did not spot that then does not take a throwing closure. Leaving this open in case we want to change the implementation, e.g. for Vapor 4 (although this should be a non-breaking change anyway).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently,
Future.flatMap
is implemented like this:core/Sources/Async/Future+Map.swift
Line 45 in fda3ebd
Would it be possible to call through to SwiftNIO's implementation of
Future.then
instead?https://github.com/apple/swift-nio/blob/6f3671de4ed1350b86762e0da317075f69983f7d/Sources/NIO/EventLoopFuture.swift#L437
Let me know if I'm missing something.
The text was updated successfully, but these errors were encountered: