TransformStreamDefaultController: terminate() メソッド
Invalid slug for templ/sidebar: Streams API
terminate()
は TransformStreamDefaultController
インターフェイスのメソッドで、このストリームの読み取り可能側を閉じ、書き込み可能側をエラーにします。
構文
js
terminate()
引数
なし。
返値
なし (undefined
)。
例
下記の例では、 TransformStreamDefaultController
で terminate()
メソッドを呼び出しています。
js
controller.terminate();
仕様書
Specification |
---|
Streams # ts-default-controller-terminate |
ブラウザーの互換性
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.