Channel

io.github.pidoveproject.showdown.protocol.Channel
See theChannel companion object
enum Channel[-In, +Out]

Attributes

Companion
object
Source
Channel.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
case QueueBased[A]
case Pipe[In, Out, Out2]
case Map[In, Out, Out2]
case Contramap[In, Out, In2]

Members list

Type members

Enum entries

final case class Contramap[In, +Out, -In2](channel: Channel[In, Out], f: In2 => In) extends Channel[In2, Out]

Attributes

Source
Channel.scala
final case class Map[-In, Out, +Out2](channel: Channel[In, Out], f: Out => Out2) extends Channel[In, Out2]

Attributes

Source
Channel.scala
final case class Pipe[-In, Out, +Out2](in: Channel[In, Out], out: Channel[Out, Out2]) extends Channel[In, Out2]

Attributes

Source
Channel.scala
final case class QueueBased[A](queue: Queue[A]) extends Channel[A, A]

Attributes

Source
Channel.scala