How to stream data from callback-based API?

@rm-rf-etc , do you think you could provide some sample code on how you glued everything together?