Type Property
defaultEventLoopGroup
iOS 16.0+
macOS 13.0+
tvOS 16.0+
watchOS 9.0+
Returns the default
EventLoopGroup singleton, automatically selecting the best for the platform.static var defaultEventLoopGroup: any EventLoopGroup { get }
Discussion
This will select the concrete EventLoopGroup depending which platform this is running on.