load
Loads domain event streams for the specified aggregate within the given version range. Validates that headVersion is non-negative and tailVersion is greater than or equal to headVersion.
Return
a Flux of domain event streams
Parameters
the ID of the aggregate to load events for
the starting version (inclusive, must be >= 0)
the ending version (inclusive, must be >= headVersion)
Throws
if headVersion < 0 or tailVersion < headVersion
Loads domain event streams for the specified aggregate within the given event time range. Validates that tailEventTime is greater than or equal to headEventTime.
Return
a Flux of domain event streams
Parameters
the ID of the aggregate to load events for
the starting event time (inclusive)
the ending event time (inclusive, must be >= headEventTime)
Throws
if tailEventTime < headEventTime