node-ssestream icon indicating copy to clipboard operation
node-ssestream copied to clipboard

Ability to set stream options

Open BogdanCln opened this issue 4 years ago • 0 comments

Apart from { objectMode: true }, it would be useful to have the ability to set other options at the construction of the Transform stream. For example, being able to set writableHighWaterMark and readableHighWaterMark would be very useful, the default values for those is pretty low. How about a second parameter for the SseStream constructor that would be the TransformOptions object?

BogdanCln avatar Jun 30 '20 09:06 BogdanCln