diff options
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r-- | doc/api/worker_threads.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 025a8c9a3a..b9f28cbfbe 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -20,8 +20,6 @@ Workers, unlike child processes or when using the `cluster` module, can also share memory efficiently by transferring `ArrayBuffer` instances or sharing `SharedArrayBuffer` instances between them. -## Example - ```js const { Worker, isMainThread, parentPort, workerData @@ -281,8 +279,6 @@ See [`port.postMessage()`][] for more information on how messages are passed, and what kind of JavaScript values can be successfully transported through the thread barrier. -For example: - ```js const assert = require('assert'); const { |