Commit a3108ff
authored
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: nodejs/node#62540
PR-URL: nodejs/node#62566
Fixes: nodejs/node#62540
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 4b3d82c commit a3108ff
1 file changed
+11
-0
lines changed| 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