Emit

final case class Emit[Msg](msg: Msg) extends Cmd[Nothing, Msg]

Simply produces a message that will then be actioned.

trait Serializable
trait Product
trait Equals
trait Cmd[Nothing, Msg]
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Transforms the type of messages produced by the command

Transforms the type of messages produced by the command

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.

Inherited from:
Cmd
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.

Inherited from:
Cmd