Instance Methodswift-nio 2.72.0NIOCore
shutdownGracefully
Shuts down the event loop gracefully.
AsyncAwaitSupport.swift:40- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
func shutdownGracefully() async throws
Other members in extension
Instance members
var description: String
func any(
) -> EventLoop The default implementation of
any()
just returns thenext()
EventLoop but it’s highly recommended to override this and return the currentEventLoop
if possible.func shutdownGracefully(@escaping (Error?) -> Void
) func syncShutdownGracefully(
) throws