Skip to main content

Consuming a stream

Chunks do not align with event boundaries. Buffer the decoded text and split on newlines across reads rather than parsing each chunk on its own.