Cmd

sealed trait Cmd[+Msg]

A command describes some side-effect to perform.

The difference with a Task is that a command never produces error values.

Companion:
object
class Object
trait Matchable
class Any
class Batch[Msg]
class Combine[Msg]
class Emit[Msg]
object Empty.type
class Run[Err, Success, Msg]
class RunTask[Err, Success, Msg]

Value members

Abstract methods

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

Concrete methods

final def combine[LubMsg >: Msg](other: Cmd[LubMsg]): Cmd[LubMsg]
final def |+|[LubMsg >: Msg](other: Cmd[LubMsg]): Cmd[LubMsg]