stream

Stream

When set to true, the decoder will treat the input as a stream of bytes, and will not throw an error if the input is incomplete.

From MDN:

A boolean flag indicating whether additional data will follow in subsequent calls to decode(). Set to true if processing the data in chunks, and false for the final chunk or if the data is not chunked. It defaults to false.