EventStream

class EventStream @InternalWowApi constructor(val ref: AggregateRef, val version: Int, val commitTime: Long, val commandId: String, val requestId: String, val commandType: String, val scope: Scope, val operator: Operator?, val events: List<CommittedEvent>)

The commit of ref at version, at commitTime (epoch milliseconds), of the command commandId of type commandType sent with requestId in the name of operator, in the aggregate's scope, and its events in order: one row of an events query, and the commit a sourcing function reads beside its event (me.ahoo.wow.api.annotation.OnSourcing), as the log records it.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(ref: AggregateRef, version: Int, commitTime: Long, commandId: String, requestId: String, commandType: String, scope: Scope, operator: Operator?, events: List<CommittedEvent>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String