Skip to content

Expose both readable and writable objectMode #21

@rgarcia

Description

@rgarcia

Currently the only way to have a mixed transform that is objectMode=true on one side and objectMode=false on the other side is to make your own stream subclass and set _{readable,writable}State.objectMode in the constructor: http://nodejs.org/api/stream.html#stream_state_objects

This would allow us to properly support of transformations that map js objects to buffer/string values and vice versa.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions