Batch

tyrian.Cmd$.Batch
See theBatch companion object
case class Batch[F[_], Msg](cmds: List[Cmd[F, Msg]]) extends Cmd[F, Msg]

Treat many commands as one

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Cmd[F, Msg]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def ++(other: Batch[F, Msg]): Batch[F, Msg]
def +:(cmd: Cmd[F, Msg]): Batch[F, Msg]
def :+(cmd: Cmd[F, Msg]): Batch[F, Msg]
def ::(cmd: Cmd[F, Msg]): Batch[F, Msg]
def map[OtherMsg](f: Msg => OtherMsg): Batch[F, OtherMsg]

Transforms the type of messages produced by the command

Transforms the type of messages produced by the command

Attributes

Inherited methods

def combine[F2[x], LubMsg >: Msg](other: Cmd[F2, LubMsg]): Cmd[F2, LubMsg]

Infix operation for combining two Cmds into one.

Infix operation for combining two Cmds into one.

Attributes

Inherited from:
Cmd

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def |+|[F2[x], LubMsg >: Msg](other: Cmd[F2, LubMsg]): Cmd[F2, LubMsg]

Infix operator for combining two Cmds into one.

Infix operator for combining two Cmds into one.

Attributes

Inherited from:
Cmd