MilanoAction

data class MilanoAction(val name: String, val parameters: Map<String, MilanoValue>, val viewIdentity: String, val dispatch: Int = 0, val dispatchId: String = "")

A dispatched custom action, delivered as data.

Constructors

Link copied to clipboard
constructor(name: String, parameters: Map<String, MilanoValue>, viewIdentity: String, dispatch: Int = 0, dispatchId: String = "")

Properties

Link copied to clipboard
val dispatch: Int = 0

The dispatch's position among the view's custom action dispatches, counting from zero in delivery order (state and actions spec, Dispatch identity). Deterministic; the conformance suite pins it.

Link copied to clipboard

A string unique among every dispatch of every view in the process, whatever the views' labels; its format is opaque. The host's idempotency key toward whatever the handler calls.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard