mutableEventLogOf
Creates a new MutableEventLog, with no aggregate.
Parameters
clock
the Clock used to generate new events.
fun mutableEventLogOf(vararg events: Pair<EventIdentifier, ByteArray>, clock: Clock = Clock.System): MutableEventLog
Content copied to clipboard
fun mutableEventLogOf(vararg events: Event, clock: Clock = Clock.System): MutableEventLog
Content copied to clipboard
Creates a new MutableEventLog, with no aggregate.
Parameters
events
some events to pre-populate the history.
clock
the Clock used to generate new events.