Skip to content

Type Property

defaultEventLoopGroup

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.