SelectListeners

gopher.SelectListeners
trait SelectListeners[F[_], S, R]

Attributes

Source
SelectListeners.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SelectGroup[F, S]
class SelectGroupBuilder[F, S, R]
class SelectForever[F]
class SelectLoop[F]

Members list

Value members

Abstract methods

def asyncMonad: CpsSchedulingMonad[F]

Attributes

Source
SelectListeners.scala
def onRead[A](ch: ReadChannel[F, A])(f: A => S): SelectListeners.this.type

Attributes

Source
SelectListeners.scala
def onTimeout(t: FiniteDuration)(f: FiniteDuration => S): SelectListeners.this.type

Attributes

Source
SelectListeners.scala
def onWrite[A](ch: WriteChannel[F, A], a: => A)(f: A => S): SelectListeners.this.type

Attributes

Source
SelectListeners.scala
def runAsync(): F[R]

Attributes

Source
SelectListeners.scala

Concrete methods

transparent inline def run()(using CpsMonadContext[F]): R

Attributes

Source
SelectListeners.scala