completed — this was the LAST item: the row resolved and the waiting
workflow was woken with the full collection, in the same statement.
accepted — interim fill: the item landed, the row stays pending.
woke — the item landed and the row resolved before every key was
filled, because its wait declared wakeOnFill for this key: the waiter
woke with the items filled so far, $filled, and $trigger: 'fill'.
duplicate-item — the key was declared but already filled.
unknown-item — the key was never declared in batch_keys.
Outcome of a
resolveBatchItem()call.completed— this was the LAST item: the row resolved and the waiting workflow was woken with the full collection, in the same statement.accepted— interim fill: the item landed, the row stayspending.woke— the item landed and the row resolved before every key was filled, because its wait declaredwakeOnFillfor this key: the waiter woke with the items filled so far,$filled, and$trigger: 'fill'.duplicate-item— the key was declared but already filled.unknown-item— the key was never declared inbatch_keys.not-batch— the row carries no batch declaration.