@@ -657,7 +657,7 @@ added: v10.0.0 |
657 | 657 | * Returns: {Promise} |
658 | 658 |
|
659 | 659 | Change the file system timestamps of the object referenced by the {FileHandle} |
660 | | -then resolves the promise with no arguments upon success. |
| 660 | +then fulfills the promise with no arguments upon success. |
661 | 661 |
|
662 | 662 | #### `filehandle.write(buffer, offset[, length[, position]])` |
663 | 663 |
|
@@ -683,14 +683,14 @@ changes: |
683 | 683 |
|
684 | 684 | Write `buffer` to the file. |
685 | 685 |
|
686 | | -The promise is resolved with an object containing two properties: |
| 686 | +The promise is fulfilled with an object containing two properties: |
687 | 687 |
|
688 | 688 | * `bytesWritten` {integer} the number of bytes written |
689 | 689 | * `buffer` {Buffer|TypedArray|DataView} a reference to the |
690 | 690 | `buffer` written. |
691 | 691 |
|
692 | 692 | It is unsafe to use `filehandle.write()` multiple times on the same file |
693 | | -without waiting for the promise to be resolved (or rejected). For this |
| 693 | +without waiting for the promise to be fulfilled (or rejected). For this |
694 | 694 | scenario, use [`filehandle.createWriteStream()`][]. |
695 | 695 |
|
696 | 696 | On Linux, positional writes do not work when the file is opened in append mode. |
@@ -740,13 +740,13 @@ changes: |
740 | 740 | Write `string` to the file. If `string` is not a string, the promise is |
741 | 741 | rejected with an error. |
742 | 742 |
|
743 | | -The promise is resolved with an object containing two properties: |
| 743 | +The promise is fulfilled with an object containing two properties: |
744 | 744 |
|
745 | 745 | * `bytesWritten` {integer} the number of bytes written |
746 | 746 | * `buffer` {string} a reference to the `string` written. |
747 | 747 |
|
748 | 748 | It is unsafe to use `filehandle.write()` multiple times on the same file |
749 | | -without waiting for the promise to be resolved (or rejected). For this |
| 749 | +without waiting for the promise to be fulfilled (or rejected). For this |
750 | 750 | scenario, use [`filehandle.createWriteStream()`][]. |
751 | 751 |
|
752 | 752 | On Linux, positional writes do not work when the file is opened in append mode. |
@@ -777,14 +777,14 @@ changes: |
777 | 777 |
|
778 | 778 | Asynchronously writes data to a file, replacing the file if it already exists. |
779 | 779 | `data` can be a string, a buffer, an {AsyncIterable}, or an {Iterable} object. |
780 | | -The promise is resolved with no arguments upon success. |
| 780 | +The promise is fulfilled with no arguments upon success. |
781 | 781 |
|
782 | 782 | If `options` is a string, then it specifies the `encoding`. |
783 | 783 |
|
784 | 784 | The {FileHandle} has to support writing. |
785 | 785 |
|
786 | 786 | It is unsafe to use `filehandle.writeFile()` multiple times on the same file |
787 | | -without waiting for the promise to be resolved (or rejected). |
| 787 | +without waiting for the promise to be fulfilled (or rejected). |
788 | 788 |
|
789 | 789 | If one or more `filehandle.write()` calls are made on a file handle and then a |
790 | 790 | `filehandle.writeFile()` call is made, the data will be written from the |
@@ -805,14 +805,14 @@ added: v12.9.0 |
805 | 805 |
|
806 | 806 | Write an array of {ArrayBufferView}s to the file. |
807 | 807 |
|
808 | | -The promise is resolved with an object containing a two properties: |
| 808 | +The promise is fulfilled with an object containing a two properties: |
809 | 809 |
|
810 | 810 | * `bytesWritten` {integer} the number of bytes written |
811 | 811 | * `buffers` {Buffer\[]|TypedArray\[]|DataView\[]} a reference to the `buffers` |
812 | 812 | input. |
813 | 813 |
|
814 | 814 | It is unsafe to call `writev()` multiple times on the same file without waiting |
815 | | -for the promise to be resolved (or rejected). |
| 815 | +for the promise to be fulfilled (or rejected). |
816 | 816 |
|
817 | 817 | On Linux, positional writes don't work when the file is opened in append mode. |
818 | 818 | The kernel ignores the position argument and always appends the data to |
@@ -846,7 +846,7 @@ or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, |
846 | 846 | `fs.constants.W_OK | fs.constants.R_OK`). Check [File access constants][] for |
847 | 847 | possible values of `mode`. |
848 | 848 |
|
849 | | -If the accessibility check is successful, the promise is resolved with no |
| 849 | +If the accessibility check is successful, the promise is fulfilled with no |
850 | 850 | value. If any of the accessibility checks fail, the promise is rejected |
851 | 851 | with an {Error} object. The following example checks if the file |
852 | 852 | `/etc/passwd` can be read and written by the current process. |
@@ -1309,7 +1309,7 @@ object with an `encoding` property specifying the character encoding to use for |
1309 | 1309 | the filenames. If the `encoding` is set to `'buffer'`, the filenames returned |
1310 | 1310 | will be passed as {Buffer} objects. |
1311 | 1311 |
|
1312 | | -If `options.withFileTypes` is set to `true`, the resolved array will contain |
| 1312 | +If `options.withFileTypes` is set to `true`, the returned array will contain |
1313 | 1313 | {fs.Dirent} objects. |
1314 | 1314 |
|
1315 | 1315 | ```mjs |
@@ -1423,7 +1423,7 @@ added: v10.0.0 |
1423 | 1423 | * Returns: {Promise} Fulfills with the `linkString` upon success. |
1424 | 1424 |
|
1425 | 1425 | Reads the contents of the symbolic link referred to by `path`. See the POSIX |
1426 | | -readlink(2) documentation for more detail. The promise is resolved with the |
| 1426 | +readlink(2) documentation for more detail. The promise is fulfilled with the |
1427 | 1427 | `linkString` upon success. |
1428 | 1428 |
|
1429 | 1429 | The optional `options` argument can be a string specifying an encoding, or an |
@@ -6319,7 +6319,7 @@ added: v12.12.0 |
6319 | 6319 | Asynchronously close the directory's underlying resource handle. |
6320 | 6320 | Subsequent reads will result in errors. |
6321 | 6321 |
|
6322 | | -A promise is returned that will be resolved after the resource has been |
| 6322 | +A promise is returned that will be fulfilled after the resource has been |
6323 | 6323 | closed. |
6324 | 6324 |
|
6325 | 6325 | #### `dir.close(callback)` |
@@ -6373,7 +6373,7 @@ added: v12.12.0 |
6373 | 6373 | Asynchronously read the next directory entry via readdir(3) as an |
6374 | 6374 | {fs.Dirent}. |
6375 | 6375 |
|
6376 | | -A promise is returned that will be resolved with an {fs.Dirent}, or `null` |
| 6376 | +A promise is returned that will be fulfilled with an {fs.Dirent}, or `null` |
6377 | 6377 | if there are no more directory entries to read. |
6378 | 6378 |
|
6379 | 6379 | Directory entries returned by this function are in no particular order as |
|