You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a current workaround where it just pushes the object to a new array and on .done event I res the array.
This hits the memory pretty hard but I dont know what else to do to get these objects out.
also how do I drain the stream after it has checked each object? This is the biggest memory drain because I think the .done response has the entire object?
I have oboe pulling out the objects I want from the readstream but I dont know how to pipe it back to res?
app.get('/foo', function(req, res) {
var rstream = oboe(fs.createReadStream("./test");
rstream.node( "{}", function(data) {
if ( data.test != undefined ) {
>>>> now what?
rstream has no method pipe so I cant simple
rstream.pipe(res) at this point.
If i try the example with streaming HTML with JSON service, I get an error saying no engine or extension provided when creating a new view.
I am really not sure how to proceed here
The text was updated successfully, but these errors were encountered: