Skip to content

.writable/.readable are not updated #123

@mscdex

Description

@mscdex

Yes I know that these are supposedly "legacy" properties, but setting them to true and never updating them is a bug IMHO.

How else are we supposed to know if any stream has ended/finished without peering into the private _*ableState properties? For example, if you have a function that takes in a Readable stream. If the stream has already ended, it's not like you can attach an end event handler or anything.

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