Type Alias AccumulateItemOutcome
AccumulateItemOutcome:
| "completed"
| "accepted"
| "duplicate-item"
| "full"
| "not-accumulator"
| "not-found"
| "already-resolved"
| "already-cancelled"
| "already-expired"
| "claim-expired"
| "claimed-by-other"
| "reciprocal-duplicate"
| "reciprocal-full"
| "reciprocal-terminal"
| "reciprocal-not-accumulator"
| "reciprocal-not-found"
Outcome of an
accumulateItem()call.completed— this add reachedmax: the row resolved and the waiter was woken with the collection, in the same statement.accepted— the item landed, the row stayspending.duplicate-item—uniqueand the key is already held.full—maxitems held and the key is new (only withresolveAtMax: false, or racing a completing add).not-accumulator— the row carries no accumulate declaration.reciprocal-*— the reciprocal row blocked the add; the container row was left untouched.