Cmd

tyrian.Cmd
See theCmd companion object
sealed trait Cmd[+F[_], +Msg]

A command describes some side-effect to perform.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Batch[F, Msg]
class Combine[F, Msg]
class Emit[Msg]
object None.type
class Run[F, A, Msg]
class SideEffect[F, A]
Show all

Members list

Value members

Abstract methods

def map[OtherMsg](f: Msg => OtherMsg): Cmd[F, OtherMsg]

Transforms the type of messages produced by the command

Transforms the type of messages produced by the command

Attributes

Concrete 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

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