Contramap

io.github.pidoveproject.showdown.protocol.Channel.Contramap
final case class Contramap[In, +Out, -In2](channel: Channel[In, Out], f: In2 => In) extends Channel[In2, Out]

Attributes

Source
Channel.scala

Members list

Value members

Inherited methods

def <<<[In2](before: Channel[In2, In2]): Channel[In2, Out]

Attributes

Inherited from:
Channel
Source
Channel.scala
def >>>[Out2](next: Channel[Out, Out2]): Channel[In2, Out2]

Attributes

Inherited from:
Channel
Source
Channel.scala
def contramap[In2](f: In2 => In2): Channel[In2, Out]

Attributes

Inherited from:
Channel
Source
Channel.scala
def map[Out2](f: Out => Out2): Channel[In2, Out2]

Attributes

Inherited from:
Channel
Source
Channel.scala
def offer(value: In2)(using Trace): UIO[Boolean]

Attributes

Inherited from:
Channel
Source
Channel.scala
def pipe[Out2](next: Channel[Out, Out2]): Channel[In2, Out2]

Attributes

Inherited from:
Channel
Source
Channel.scala
def poll(using Trace): UIO[Option[Out]]

Attributes

Inherited from:
Channel
Source
Channel.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def take(using Trace): UIO[Out]

Attributes

Inherited from:
Channel
Source
Channel.scala
def toZStream(using Trace): UStream[Out]

Attributes

Inherited from:
Channel
Source
Channel.scala