Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,12 @@

<!-- YAML
added: v16.5.0
changes:
- version:
- v21.5.0
- v20.14.0
pr-url: https://github.com/nodejs/node/pull/50126

Check warning on line 1155 in doc/api/webstreams.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Supports the `cancel` transformer callback.
-->

* `transformer` {Object}
Expand All @@ -1166,6 +1172,11 @@
the transformation process.
* `controller` {TransformStreamDefaultController}
* Returns: A promise fulfilled with `undefined`.
* `cancel` {Function} A user-defined function that is called when either the
readable side of the `TransformStream` is canceled or the writable side is
aborted.
* `reason` {any}
* Returns: A promise fulfilled with `undefined`.
* `readableType` {any} the `readableType` option is reserved for future use
and _must_ be `undefined`.
* `writableType` {any} the `writableType` option is reserved for future use
Expand Down
Loading