Advertisement
Guest User

Untitled

a guest
May 31st, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import {Readable} from 'readable-stream';
  2. import {Stream} from 'most';
  3.  
  4.  
  5. const rr = Readable({
  6. read: function(){
  7. this.push('hello \n');
  8. this.push('world \n');
  9. this.push('this \n');
  10. this.push('is \n');
  11. this.push('home \n');
  12. this.push(null);
  13. }
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement