TransformStreamDefaultController: terminate()-Methode
Hinweis: Diese Funktion ist in Web Workers verfügbar.
Die terminate()
-Methode der TransformStreamDefaultController
-Schnittstelle schließt die lesbare Seite und erzeugt einen Fehler auf der beschreibbaren Seite des Streams.
Syntax
js
terminate()
Parameter
Keine.
Rückgabewert
Kein Wert (undefined
).
Beispiele
Im untenstehenden Beispiel wird die terminate()
-Methode auf einem TransformStreamDefaultController
aufgerufen.
js
controller.terminate();
Spezifikationen
Specification |
---|
Streams # ts-default-controller-terminate |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
terminate |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.