Closed max-mapper closed 11 years ago
i'm starting to think that getSequences needs to be a stream in "object mode". i've already run in to some memory issues when pulling a SLEEP feed and writing more new data than i'm reading.
yea I dont think there is a valid use case for a non streaming mode. if you want to aggregate all changes you can just use concat-stream or something
it was mostly there to simplify for the code the "lower common denominator" case of serializing an object.
this pull request:
object
mode, which is{"rows": []}
(returning arrays to certain versions of IE exposes a json parsing security vulnerability)newline
mode returned\nundefined
andarray
mode returned]
SLEEPStream
to theSLEEP
constructor