node-ssestream
node-ssestream copied to clipboard
Ability to set stream options
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?