NettyRuntime

class Object
trait Matchable
class Any

Value members

Concrete fields

val usingDedicatedThreadPool: ZLayer[Any, Nothing, NettyRuntime]

Creates a runtime that uses a separate thread pool for ZIO operations.

Creates a runtime that uses a separate thread pool for ZIO operations.

val usingSharedThreadPool: ZLayer[EventLoopGroup, Nothing, NettyRuntime]

Creates a runtime that uses the same thread that's used by the channel's event loop. This should be the preferred way of creating the runtime for the server.

Creates a runtime that uses the same thread that's used by the channel's event loop. This should be the preferred way of creating the runtime for the server.