SocketGroup

object SocketGroup
Companion
class
class Object
trait Matchable
class Any

Value members

Methods

def forAsync[F <: ([_$2] =>> Any)](nonBlockingThreadCount: Int, nonBlockingThreadFactory: ThreadFactory)(evidence$1: Async[F]): Resource[F, SocketGroup[F]]
Creates a SocketGroup.
All reads and writes are performed on a non-blocking thread pool
associated with the SocketGroup. The non-blocking thread pool is sized to
the number of available processors if nonBlockingThreadCount is <= 0.
See https://openjdk.java.net/projects/nio/resources/AsynchronousIo.html for more
information on NIO thread pooling.