EventLoopGroupProvider
public enum EventLoopGroupProvider
Specifies how EventLoopGroup
will be created and establishes lifecycle ownership.
-
EventLoopGroup
will be provided by the user. Owner of this group is responsible for its lifecycle.Declaration
Swift
case shared(EventLoopGroup)
-
EventLoopGroup
will be created by the client. WhensyncShutdown
is called, createdEventLoopGroup
will be shut down as well.Declaration
Swift
case createNew