diff options
author | Danielle Adams <adamzdanielle@gmail.com> | 2020-12-07 23:40:58 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2020-12-09 16:49:37 +0300 |
commit | 348b7a9606da61fbb5437e27f479363114ecf4eb (patch) | |
tree | af27d71525740b8c6b14b2206d864f2a221e189e /doc/api/worker_threads.md | |
parent | 9b23777442f9af01b25b8752e3d1767036b62f14 (diff) |
2020-12-09, Version 15.4.0 (Current)
PR-URL: https://github.com/nodejs/node/pull/36435
Notable changes:
* child_processes:
* add AbortSignal support (Benjamin Gruenbaum) (https://github.com/nodejs/node/pull/36308)
* deps:
* update ICU to 68.1 (Michaƫl Zasso) (https://github.com/nodejs/node/pull/36187)
* events:
* support signal in EventTarget (Benjamin Gruenbaum) (https://github.com/nodejs/node/pull/36258)
* graduate Event, EventTarget, AbortController (James M Snell) (https://github.com/nodejs/node/pull/35949)
* http:
* enable call chaining with setHeader() (pooja d.p) (https://github.com/nodejs/node/pull/35924)
* module:
* add isPreloading indicator (James M Snell) (https://github.com/nodejs/node/pull/36263)
* stream:
* support abort signal (Benjamin Gruenbaum) (https://github.com/nodejs/node/pull/36061)
* add FileHandle support to Read/WriteStream (Momtchil Momtchev) (https://github.com/nodejs/node/pull/35922)
* worker:
* add experimental BroadcastChannel (James M Snell) (https://github.com/nodejs/node/pull/36271)
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r-- | doc/api/worker_threads.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 8c4c5b3854f..7de28b99e40 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -276,7 +276,7 @@ if (isMainThread) { ## Class: `BroadcastChannel extends EventTarget` <!-- YAML -added: REPLACEME +added: v15.4.0 --> > Stability: 1 - Experimental @@ -311,7 +311,7 @@ if (isMainThread) { ### `new BroadcastChannel(name)` <!-- YAML -added: REPLACEME +added: v15.4.0 --> * `name` {any} The name of the channel to connect to. Any JavaScript value @@ -319,14 +319,14 @@ added: REPLACEME ### `broadcastChannel.close()` <!-- YAML -added: REPLACEME +added: v15.4.0 --> Closes the `BroadcastChannel` connection. ### `broadcastChannel.onmessage` <!-- YAML -added: REPLACEME +added: v15.4.0 --> * Type: {Function} Invoked with a single `MessageEvent` argument @@ -334,7 +334,7 @@ added: REPLACEME ### `broadcastChannel.onmessageerror` <!-- YAML -added: REPLACEME +added: v15.4.0 --> * Type: {Function} Invoked with a received message cannot be @@ -342,14 +342,14 @@ added: REPLACEME ### `broadcastChannel.postMessage(message)` <!-- YAML -added: REPLACEME +added: v15.4.0 --> * `message` {any} Any cloneable JavaScript value. ### `broadcastChannel.ref()` <!-- YAML -added: REPLACEME +added: v15.4.0 --> Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed @@ -359,7 +359,7 @@ will have no effect. ### `broadcastChannel.unref()` <!-- YAML -added: REPLACEME +added: v15.4.0 --> Calling `unref()` on a BroadcastChannel will allow the thread to exit if this |