Selector

cats.effect.Selector
trait Selector

Attributes

Source
Selector.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SelectorImpl

Members list

Value members

Abstract methods

def provider: SelectorProvider

The java.nio.channels.spi.SelectorProvider that should be used to create java.nio.channels.SelectableChannels that are compatible with this polling system.

The java.nio.channels.spi.SelectorProvider that should be used to create java.nio.channels.SelectableChannels that are compatible with this polling system.

Attributes

Source
Selector.scala
def select(ch: SelectableChannel, ops: Int): IO[Int]

Fiber-block until a java.nio.channels.SelectableChannel is ready on at least one of the designated operations. The returned value will indicate which operations are ready.

Fiber-block until a java.nio.channels.SelectableChannel is ready on at least one of the designated operations. The returned value will indicate which operations are ready.

Attributes

Source
Selector.scala