Instance Method (Default implementation)swift-nio 2.72.0NIOCore
any
The default implementation of any()
just returns the next()
EventLoop but it’s highly recommended to override this and return the current EventLoop
if possible.
func any() -> EventLoop
Implements
func any(
) -> EventLoop Returns any
EventLoop
from theEventLoopGroup
, a common choice is the currentEventLoop
.
Other members in extension
Instance members
var description: String
func shutdownGracefully(
) async throws Shuts down the event loop gracefully.
func shutdownGracefully(@escaping (Error?) -> Void
) func syncShutdownGracefully(
) throws