DecidingCommand

The command a decide function is deciding, in its coroutine context while it decides. A command a Wow client sends from there takes nextRequestId as its request id unless its caller gives one, as a saga's derived commands take theirs: a decision decided again after a version conflict sends the same requests again, which their targets answer as repeats rather than run twice. The kernel puts a new one in for each attempt, so the n-th command an attempt sends is the n-th request of every attempt, as long as the decision sends them in order.

Constructors

Link copied to clipboard
constructor(commandId: String)

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard

The request id of the next command sent while deciding: requestIdOf the command and the call's index.

Link copied to clipboard
open override fun toString(): String