refactor: basic_consume/10 -> /9
cherry-picked from bug24297
cosmetic
brevity
refactor: genericise