https://aws-amplify.github.io/amplify-js/api/variables/_aws_amplify_adapter_nextjs.index._Reference_Types_.ReadableStreamDefaultController-1.html
ReadableStreamDefaultController | Amplify JS API Documentation
Documentation for Amplify JS API Documentation
js apiamplifydocumentation
https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/close
ReadableStreamDefaultController: close() method - Web APIs | MDN
The close() method of the ReadableStreamDefaultController interface closes the associated stream.
web apisclosemethodmdn