Pseudo-streaming function

Support of a pseudo-streming function.
Test: http://jsdo.it/ange305/5IHE