Skip to content

Cancel method #8

@lbud

Description

@lbud

It would be cool to have a cancel method. Right now I'm using this to pipe an s3scan.Scan to another transform stream, and then when I've gotten as much as I need I end that stream, but trying to end the scan stream results in a write after end error because of the queue. Something like a purge or cancel option to delete all queued items and cancel the stream would be useful in cases like this.

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