Skip to content

Not sure how to stream large amounts of data when the total size is unknown. #1558

@thomasjwebb

Description

@thomasjwebb

I can see in examples and documentation how to stream large amounts of data when the total amount is known - use tryEnd and onWritable. But tryEnd will close the stream when the total amount is reached and I need to start sending data down before I know what the total size will be. It would be useful if there was a tryWrite that worked similarly but didn't require knowing the total size right away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions