FlagBatchItemOutcome:
    | "flagged"
    | "completed"
    | "already-filled"
    | "unknown-item"
    | "not-batch"
    | "not-found"
    | "already-resolved"
    | "already-cancelled"
    | "already-expired"

flagged: the flag is stored and the row stays pending. completed: the row declared wakeOnFlag, so it resolved and the waiter woke. already-filled: the key is declared but no longer pending.