CommandStream

Represents a stream of command messages generated in response to a domain event in a stateless saga. This interface provides access to the commands that should be sent as part of the saga's reaction to an event.

Inheritors

Properties

Link copied to clipboard
abstract val domainEventId: String

The ID of the domain event that triggered this command stream.

Link copied to clipboard
abstract val size: Int

The number of command messages in this stream.

Functions

Link copied to clipboard
abstract operator fun iterator(): Iterator<CommandMessage<*>>
Link copied to clipboard

Sorts an iterable collection based on Order annotations and dependencies.