Poller

cats.effect.unsafe.SelectorSystem.Poller
final class Poller extends SelectorPoller

The user-facing Poller interface.

Attributes

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

Members list

Concise view

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