Skip to content

Commit a4a4d87

Browse files
committed
doc: fix "cancelation" in fs, globals, and stream
1 parent adef648 commit a4a4d87

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/api/fs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,7 +2213,7 @@ passed to it. For performance sensitive code consider using
22132213
[`fs.createWriteStream()`][] or [`filehandle.createWriteStream()`][].
22142214
22152215
It is possible to use an {AbortSignal} to cancel an `fsPromises.writeFile()`.
2216-
Cancelation is "best effort", and some amount of data is likely still
2216+
Cancellation is "best effort", and some amount of data is likely still
22172217
to be written.
22182218
22192219
```mjs
@@ -5562,7 +5562,7 @@ performs multiple `write` calls internally to write the buffer passed to it.
55625562
For performance sensitive code consider using [`fs.createWriteStream()`][].
55635563
55645564
It is possible to use an {AbortSignal} to cancel an `fs.writeFile()`.
5565-
Cancelation is "best effort", and some amount of data is likely still
5565+
Cancellation is "best effort", and some amount of data is likely still
55665566
to be written.
55675567
55685568
```mjs

doc/api/globals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ changes:
4141
description: No longer experimental.
4242
-->
4343

44-
A utility class used to signal cancelation in selected `Promise`-based APIs.
44+
A utility class used to signal cancellation in selected `Promise`-based APIs.
4545
The API is based on the Web API {AbortController}.
4646

4747
```js

doc/api/webstreams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ added: v16.5.0
175175
-->
176176

177177
* `reason` {any}
178-
* Returns: A promise fulfilled with `undefined` once cancelation has
178+
* Returns: A promise fulfilled with `undefined` once cancellation has
179179
been completed.
180180

181181
#### `readableStream.getReader([options])`

0 commit comments

Comments
 (0)