method
__internal.BunResponseOverride.textStream
Returns a ReadableStream of the body decoded as UTF-8 text.
Multi-byte characters split across chunk boundaries are joined correctly. Throws a TypeError if the body has already been consumed or is locked.
Referenced types
class ReadableStream<R = any>
This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.