Skip to content

ability to abort a pipeline from openReadStream #26

@thejoshwolfe

Description

@thejoshwolfe

The unpipe branch currently has a test failure due to trying to walk away from an 8GB read stream after reading 0x100 bytes. The pipe is left open, and yazul never emits the close event.

In general, we should have the ability to abort a read stream partway through. According to my research, we need to provide this feature rather than relying on some existing Node solution that works for all generic streams and pipes.

Credit to @timotm for finding this limitation 8 months ago in #13.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions