globalsTransformStreamDefaultControllerprototypeTransformStreamDefaultController.terminate()Version: 3.28.0On this pageTransformStreamDefaultController.terminate()The terminate() method of the TransformStreamDefaultController interface closes the readable side and errors the writable side of the stream.Syntaxterminate()ParametersNone.Return valueNone (undefined).