Commit ce3f4c8
doc: document TransformStream transformer.cancel option
Add documentation for the `cancel` option of the `TransformStream`
transformer, which allows users to specify a callback that will be
called when the stream is canceled.
See: https://streams.spec.whatwg.org/#transformer-api
Fixes: #62540
PR-URL: #62566
Fixes: #62540
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 60a585e commit ce3f4c8Copy full SHA for ce3f4c8
1 file changed
+11Lines changed: 11 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+11Lines changed: 11 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1148 | 1148 | |
1149 | 1149 | |
1150 | 1150 | |
| 1151 | + |
| 1152 | + |
| 1153 | + |
| 1154 | + |
| 1155 | + |
| 1156 | + |
1151 | 1157 | |
1152 | 1158 | |
1153 | 1159 | |
| ||
1166 | 1172 | |
1167 | 1173 | |
1168 | 1174 | |
| 1175 | + |
| 1176 | + |
| 1177 | + |
| 1178 | + |
| 1179 | + |
1169 | 1180 | |
1170 | 1181 | |
1171 | 1182 | |
|
0 commit comments