Mend
Bun

method

fs.Utf8Stream.end

end(): void;

Close the stream gracefully, flushing the internal buffer before closing.