OutgoingEvent

The events that may be produced by the bounded context.

trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Enum entries

case NewBatch(batchID: BatchID, cheeseType: CheeseType, readyFrom: LocalDate)

Fired when a production is terminated, given a batch ID and sent to the refrigeration room.

Fired when a production is terminated, given a batch ID and sent to the refrigeration room.

case StartProduction(neededIngredients: NonEmptyList[QuintalsOfIngredient])

Fired when a production needs to be started, specifies the needed ingredients and the quantity necessary to sustain the production.

Fired when a production needs to be started, specifies the needed ingredients and the quantity necessary to sustain the production.