Skip to content

produce a stream instead of reading everything into a buffer #3

@michaelficarra

Description

@michaelficarra

It seems like there'd be a number of advantages to producing something more like ReadableStream rather than reading the whole resource into a buffer. For example, you'd be able to consume just part of the stream and cancel it, and you could support potentially infinite resources.

Of course, this would have the prerequisite of adding streams to the language, which would have its own challenges.

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