Skip to main content
Version: 4.0.1

TransformStreamDefaultController.terminate()

The terminate() method of the TransformStreamDefaultController interface closes the readable side and errors the writable side of the stream.

Syntax​

terminate()

Parameters​

None.

Return value​

None (undefined).