Skip to content

Use autoDestroy when it lands in readable-stream (node 11.2.0) #13

@vweevers

Description

@vweevers

See autoDestroy:

Whether this stream should automatically call .destroy() on itself after ending.

I think that can replace:

https://github.com/Level/iterator-stream/blob/d59b13a9ef3ae7862c7a8e9262d7d7c417e067df/index.js#L16

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorRequires or pertains to refactoringsemver-patchBug fixes that are backward compatible

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions