Skip to content

Stream instead of buffer results #109

@TheSlimvReal

Description

@TheSlimvReal

Normal async/await NodeJS fetch requires to load all data of a request and buffer it.
Using NodeJS streams its possible to read the request line by line and directly forward the results.
The reduces the amount of data that needs to be buffered.
The difficulty is that the results cannot be parsed as plain JSON but need to be adjusted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage / Analysis

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions