makeSucceededVoidFuture
Return a succeeded Void
future.
func makeSucceededVoidFuture() -> EventLoopFuture<Void>
Semantically, this function is equivalent to calling makeSucceededFuture(())
. Contrary to makeSucceededFuture
, makeSucceededVoidFuture
is a customization point for EventLoop
s which allows EventLoop
s to cache a pre-succeeded Void
future to prevent superfluous allocations.