Instance Propertyswift-nio 2.81.0NIOCore
description
EventLoop.swift:558var description: String { get }
var description: String { get }
import NIOCore
The core abstractions that make up SwiftNIO.
protocol EventLoopGroup : AnyObject, _NIOPreconcurrencySendable
Provides an endless stream of EventLoop
s to use.
@frozen struct String
A Unicode string value that is a collection of characters.
func _preconditionSafeToSyncShutdown(file: StaticString, line: UInt)
func any() -> EventLoop
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 shutdownGracefully() async throws
Shuts down the event loop gracefully.
@preconcurrency func shutdownGracefully(_ callback: @escaping (Error?) -> Void)
func syncShutdownGracefully() throws