Skip to content

Commit 49eae4a

Browse files
committed
fixup! docs
1 parent 73df09e commit 49eae4a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/api/stream.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,17 @@ added: v12.3.0
921921

922922
Getter for the property `objectMode` of a given `Writable` stream.
923923

924+
##### `writable[Symbol.asyncDispose]()`
925+
926+
<!-- YAML
927+
added: REPLACEME
928+
-->
929+
930+
> Stability: 1 - Experimental
931+
932+
Calls [`writable.destroy()`][writable-destroy] with an `AbortError` and returns
933+
a promise that fulfills when the stream is finished.
934+
924935
##### `writable.write(chunk[, encoding][, callback])`
925936

926937
<!-- YAML

0 commit comments

Comments
 (0)