Skip to content

Ability to set stream options #4

@BogdanCln

Description

@BogdanCln

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions