diff options
author | Tobias Nießen <tniessen@tnie.de> | 2021-07-11 18:51:31 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-07-13 09:10:19 +0300 |
commit | 3bae79087c6c64c65d7dc6c1076d8dc392d1d468 (patch) | |
tree | c4c88720e9f0447ad34958078202282fec8323e0 /doc/api | |
parent | 528639c5fe564536ac31fe65cbfc9292f84c96ef (diff) |
doc: fix typos in Web Streams API documentation
PR-URL: https://github.com/nodejs/node/pull/39351
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/webstreams.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 90667c1c1bb..e40850ef853 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -352,7 +352,7 @@ method to acquire the async iterator and set the `preventCancel` option to The {ReadableStream} must not be locked (that is, it must not have an existing active reader). During the async iteration, the {ReadableStream} will be locked. -#### Transfering with `postMessage()` +#### Transferring with `postMessage()` A {ReadableStream} instance can be transferred using a {MessagePort}. @@ -554,7 +554,7 @@ the pooled `Buffer` instances. When a `Buffer`, {TypedArray}, or {DataView} is passed in to `readableStreamBYOBReader.read()`, the view's underlying `ArrayBuffer` is *detached*, invalidating all existing views that may exist on that `ArrayBuffer`. This -can have disasterous consequences for your application. +can have disastrous consequences for your application. #### `readableStreamBYOBReader.releaseLock()` <!-- YAML @@ -795,7 +795,7 @@ The `writableStream.locked` property is `false` by default, and is switched to `true` while there is an active writer attached to this `WritableStream`. -#### Transfering with postMessage() +#### Transferring with postMessage() A {WritableStream} instance can be transferred using a {MessagePort}. @@ -998,7 +998,7 @@ added: REPLACEME * Type: {WritableStream} -#### Transfering with postMessage() +#### Transferring with postMessage() A {TransformStream} instance can be transferred using a {MessagePort}. @@ -1048,7 +1048,7 @@ added: REPLACEME * `reason` {any} -Signals to both the readable and writable side that an error has occured +Signals to both the readable and writable side that an error has occurred while processing the transform data, causing both sides to be abruptly closed. |