Stream ModuleΒΆ

Specific Commands

  • event represents a event in the application
event FlowCreateRequested(flowId:ObjectId, teamCode:String?, fqFlowName:String)
  • event-data
event-data xxx
  • event-tag bunch of events get tagged with this
event-tag FlowEvent(flowId:ObjectId)
event[FlowEvent] FlowCreateRequested(flowId:ObjectId, teamCode:String?, fqFlowName:String) //usage
  • archieved a event no longer in use, when encountered then ignored
event FlowCreated(flowId:ObjectId) archived
  • upcast-to when a event gets replaced by another event
event FlowEnded(name:String)
event FlowCancelled(flowId:ObjectId, fqFlowName:String) upcast-to FlowEnded
  • past-events event that are no longer in use, when the projector sees them, they get dropped.
past-events("TaskEvent")