SelectorImpl

cats.effect.unsafe.SelectorSystem.SelectorImpl
final class SelectorImpl extends Selector

Attributes

Source
SelectorSystem.scala
Graph
Supertypes
trait Selector
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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
SelectorSystem.scala

Concrete fields

val 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
SelectorSystem.scala