Transition

works.iterative.workflow.Transition
See theTransition companion class
object Transition

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Transition.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def simple[R, State, Entity, Command, Event](from: State, on: CommandMatch[Command], to: State, emits: List[EventShape[Event]], emit: (Entity, Command) => Seq[Event], applicableWhen: Guard[R, Entity] = ..., requires: Guard[R, Entity] = ...): Transition[R, State, Entity, Command, Event]

Terse constructor for the ~80% passthrough / self-loop case — a single outcome labelled "only", so most of an aggregate's engine table is one call per row.

Terse constructor for the ~80% passthrough / self-loop case — a single outcome labelled "only", so most of an aggregate's engine table is one call per row.

Attributes