Skip to content

Instance Method

future()

Creates a new, succeeded EventLoopFuture from the worker’s event loop with a Void value.
func future() -> EventLoopFuture<Void>

Return Value

The succeeded future.

Discussion

Let a: EventLoopFuture = req.future()

See Also

EventLoop and EventLoopGroup