add class DeferConsumer

for simulating defer's addCallback