CommandStage

Entries

Link copied to clipboard

当命令发布到命令总线/队列后,生成完成信号.

Link copied to clipboard

当命令被聚合根处理完成后,生成完成信号.

Link copied to clipboard

当快照被生成后,生成完成信号.

Link copied to clipboard

当命令产生的事件投影完成后,生成完成信号.

Link copied to clipboard

当命令产生的事件被事件处理器处理完成后,生成完成信号.

Link copied to clipboard

当命令产生的事件被Saga处理完成后,生成完成信号.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val previous: List<CommandStage>

前置阶段列表

Link copied to clipboard
open val shouldWaitFunction: Boolean = false

Functions

Link copied to clipboard
fun isPrevious(processingStage: CommandStage): Boolean

判断给定的处理阶段是否为当前阶段的前置阶段

Link copied to clipboard
fun shouldNotify(processingStage: CommandStage): Boolean

判断是否应该发送通知

Link copied to clipboard
fun CommandStage.toWaitingChainTail(function: NamedFunctionInfoData = NamedFunctionInfoData.EMPTY): WaitingChainTail
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.