Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: mention CryptoKey in port.postMessage()
  • Loading branch information
panva committed Feb 3, 2021
commit 68b2c916466890d16173e5e0296f2bba9cf2aeba
5 changes: 4 additions & 1 deletion doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ changes:
- version: v15.6.0
pr-url: https://github.com/nodejs/node/pull/36804
description: Added `X509Certificate` to the list of cloneable types.
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: Added `CryptoKey` to the list of cloneable types.
- version:
- v14.5.0
- v12.19.0
Expand Down Expand Up @@ -505,7 +508,7 @@ In particular, the significant differences to `JSON` are:
and `SharedArrayBuffer`s.
* `value` may contain [`WebAssembly.Module`][] instances.
* `value` may not contain native (C++-backed) objects other than {MessagePort}s,
{FileHandle}s, {KeyObject}s, and {X509Certificate}s.
{FileHandle}s, {KeyObject}s, {CryptoKey}s, and {X509Certificate}s.

```js
const { MessageChannel } = require('worker_threads');
Expand Down