Run

tyrian.Cmd.Run
See theRun companion object
final case class Run[F[_], A, Msg](task: F[A], toMsg: A => Msg)(implicit evidence$3: Applicative[F]) extends Cmd[F, Msg]

Represents runnable concurrent task that produces a message

Attributes

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

Members list

Value members

Concrete methods

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

Transforms the type of messages produced by the command

Transforms the type of messages produced by the command

Attributes

def toTask: F[Msg]

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