ResourceChange
record in OpalScript
Immutable result and committed event for a bounded numeric resource.
Properties
| Member | Description |
|---|---|
| ResourceChange.Applied | Whether this command changed the value. |
| ResourceChange.Amount | Signed committed delta. |
| ResourceChange.PreviousValue | Value before the command. |
| ResourceChange.Value | Value committed by the command. |
| ResourceChange.Reason | Refusal reason, or empty on success. |
| ResourceChange.OperationId | Command identity. |
| ResourceChange.SourceId | Calling object identity. |
| ResourceChange.TargetId | Resource owner identity. |