Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Readable} from 'readable-stream';
- import {Stream} from 'most';
- const rr = Readable({
- read: function(){
- this.push('hello \n');
- this.push('world \n');
- this.push('this \n');
- this.push('is \n');
- this.push('home \n');
- this.push(null);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement