expectedVersion property

MemoryVersion? expectedVersion
final

Optional precondition, on the same terms as vta/memory/put: the live item must be at exactly this version, so a delete cannot discard an edit the caller never saw. Positive only — a create-only precondition on a delete can never be useful, so the schema does not admit 0.

Implementation

final MemoryVersion? expectedVersion;