Events

data class Events(val events: List<Event> = emptyList()) : Message.Incoming

Sends multiple events, alongside their body, to the Outgoing side. When sending an event, you guarantee that you'll never send any Event for the same SiteIdentifier and with a smaller SequenceNumber.

Parameters

events

the bodies of the events that are sent.

seqno

the sequence number for this Event.

site

the site that issued this Event.

body

the domain-specific body of the Event.

Constructors

Link copied to clipboard
fun Events(events: List<Event> = emptyList())

Properties

Link copied to clipboard
val events: List<Event>