ApplyResult

data class ApplyResult(val state: <Error class: unknown class>, val events: List<EmittedEvent> = emptyList(), val error: ActionError? = null)

What one interaction produced.

error is present when the interaction stopped early — and state still carries everything that had already been applied. Partial application is the contract, not a leak: an interaction stops where it failed rather than unwinding, so the host sees the work that succeeded and a diagnostic for the step that did not.

Constructors

Link copied to clipboard
constructor(state: <Error class: unknown class>, events: List<EmittedEvent> = emptyList(), error: ActionError? = null)

Properties

Link copied to clipboard
val error: ActionError? = null
Link copied to clipboard
Link copied to clipboard
val state: <Error class: unknown class>