Cmd

sealed trait Cmd[+F[_], +Msg]

A command describes some side-effect to perform.

Companion:
object
class Object
trait Matchable
class Any
class Batch[F, Msg]
class Combine[F, Msg]
class Emit[Msg]
object None.type
class Run[F, A, Msg]
class SideEffect[F]

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

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.

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.