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:11:53 +0300 |
commit | 38ae4077c770c2fd12eff7198a58265db9ef6ef4 (patch) | |
tree | 67cc03b5338c4a5a0d2154b22b6ffd607c77ab01 | |
parent | ecf627a9af90b0a4ae125f076391c9040dd6e2e0 (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>
-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. |