diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-04-09 19:45:15 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-06-14 15:53:38 +0300 |
commit | 57e7c63f74255e3287a11393bb4c18d0ab4e7b1d (patch) | |
tree | bb671cf3d3762180c73e16a1a171df23884f9f41 /doc/api/errors.md | |
parent | 8a7201b25fa2e5342b5d737742586bcd5ea1da5e (diff) |
worker: allow transferring/cloning generic BaseObjects
Extend support for transferring objects à la `MessagePort` to other
types of `BaseObject` subclasses, as well as implement cloning
support for cases in which destructive transferring is not needed
or optional.
PR-URL: https://github.com/nodejs/node/pull/33772
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r-- | doc/api/errors.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index a98571edd61..43c0b1dedaf 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1589,8 +1589,9 @@ is thrown if a required option is missing. <a id="ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST"></a> ### `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` -A `MessagePort` was found in the object passed to a `postMessage()` call, -but not provided in the `transferList` for that call. +An object that needs to be explicitly listed in the `transferList` argument +was found in the object passed to a `postMessage()` call, but not provided in +the `transferList` for that call. Usually, this is a `MessagePort`. <a id="ERR_MISSING_PASSPHRASE"></a> ### `ERR_MISSING_PASSPHRASE` |