Skip to main content

Module sequence

Module sequence 

Source
Expand description

Scoped counters whose allocation commits with the consuming app mutation.

Structs§

SequenceAllocation
Names a declared counter and its unique scope without selecting a backend.

Functions§

plan_sequence_allocation
Plans a compare-and-write allocation for inclusion in the consuming transaction. A failed consumer rolls back the counter; concurrent stale plans conflict.