SelectorPoller

cats.effect.SelectorPoller

Attributes

Source:
SelectorPoller.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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:
SelectorPoller.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:
SelectorPoller.scala