Mitar
|
8f0fa61406
|
doc: fix the path to postMessage()
PR-URL: https://github.com/nodejs/node/pull/25332
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
|
2019-05-16 14:56:31 -04:00 |
|
Hang Jiang
|
6bd33dde62
|
doc: fix comma of the list in worker_threads.md
PR-URL: https://github.com/nodejs/node/pull/26838
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
|
2019-05-16 14:55:56 -04:00 |
|
Azard
|
f38469e0ce
|
doc: add EventTarget link to worker_threads
PR-URL: https://github.com/nodejs/node/pull/25058
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
|
2019-02-28 23:37:44 +11:00 |
|
yoshimoto koki
|
e1e424aae6
|
doc: add class worker documentation
Add documentation about Worker class inherits from EventEmitter.
PR-URL: https://github.com/nodejs/node/pull/24849
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
|
2019-02-28 23:37:42 +11:00 |
|
Sam Roberts
|
d2cc9d72b6
|
doc: sort bottom-of-file markdown links
Reapply #12726
It would be nice to have the sort check applied as part of doc testing,
but this change doesn't implement that.
Backport-PR-URL: https://github.com/nodejs/node/pull/24681
PR-URL: https://github.com/nodejs/node/pull/24679
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
2018-12-26 11:18:57 -05:00 |
|
Rich Trott
|
4c04e7c321
|
doc: remove personal pronoun from worker_threads
Per the Style Guide, remove the use of the personal pronoun _you_ from
the formal API documentation for `worker_threads`.
PR-URL: https://github.com/nodejs/node/pull/23347
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
|
2018-11-29 11:38:14 -05:00 |
|
Denis Fäcke
|
24073cef6b
|
doc: add callback parameters of worker.terminate()
PR-URL: https://github.com/nodejs/node/pull/23002
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
2018-09-25 08:53:37 +02:00 |
|
Vse Mozhet Byt
|
ca2dd8cbb0
|
doc: remove redundant 'Example:' and similar notes
Some nits were also fixed in passing.
PR-URL: https://github.com/nodejs/node/pull/22537
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
|
2018-09-06 08:53:57 +02:00 |
|
Sakthipriyan Vairamani (thefourtheye)
|
b510cdc756
|
doc: fix worker example to receive message
`require('worker_threads')` is not an instance of `EventEmitter`. So
`on` method would not be in it. The correct way to receive the message
would be to attach a listener to the `message` event on the
`parentPort`.
PR-URL: https://github.com/nodejs/node/pull/21486
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
|
2018-07-19 09:36:06 +02:00 |
|
Gus Caplan
|
e030dd7d65
|
tools: add no-duplicate-requires rule
PR-URL: https://github.com/nodejs/node/pull/21712
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
|
2018-07-14 12:03:01 +02:00 |
|
Vse Mozhet Byt
|
1d73ba8322
|
doc: fix some links
PR-URL: https://github.com/nodejs/node/pull/21619
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
2018-07-03 08:41:01 +02:00 |
|
itaysabato
|
206e5bf7af
|
worker: support relative paths
This commit adds support for relative paths in Worker.
Paths are relative to the current working directory.
PR-URL: https://github.com/nodejs/node/pull/21407
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
|
2018-06-28 20:41:08 +02:00 |
|
Jo Colina
|
511d610dca
|
doc: updated docs to include --experimental-worker flag
Updated worker-threads.md, cli.md and node.1 to include
--experimental-worker flag
PR-URL: https://github.com/nodejs/node/pull/21461
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
|
2018-06-28 20:38:33 +02:00 |
|
Thomas Watson
|
dbd810e5d4
|
doc: show options arg to new Worker is optional
PR-URL: https://github.com/nodejs/node/pull/21508
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
2018-06-25 20:04:36 +02:00 |
|
Thomas Watson
|
9e3168478c
|
doc: fix missing parentPort link in worker_threads
PR-URL: https://github.com/nodejs/node/pull/21430
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
2018-06-22 11:01:26 +02:00 |
|
Michaël Zasso
|
e1c28f49a6
|
2018-16-20, Version 10.5.0 (Current)
Notable changes:
* **crypto**:
* Support for `crypto.scrypt()` has been added.
[#20816](https://github.com/nodejs/node/pull/20816)
* **fs**:
* BigInt support has been added to `fs.stat` and `fs.watchFile`.
[#20220](https://github.com/nodejs/node/pull/20220)
* APIs that take `mode` as arguments no longer throw on values larger
than `0o777`. [#20636](https://github.com/nodejs/node/pull/20636)
[#20975](https://github.com/nodejs/node/pull/20975)
(Fixes: [#20498](https://github.com/nodejs/node/issues/20498))
* Fix crashes in closed event watchers.
[#20985](https://github.com/nodejs/node/pull/20985)
(Fixes: [#20297](https://github.com/nodejs/node/issues/20297))
* **Worker Threads**:
* Support for multi-threading has been added behind the
`--experimental-worker` flag in the `worker_threads` module.
This feature is *experimental* and may receive breaking changes at
any time. [#20876](https://github.com/nodejs/node/pull/20876)
PR-URL: https://github.com/nodejs/node/pull/21400
|
2018-06-20 19:02:45 +02:00 |
|
Jeremiah Senkpiel
|
dd2fc90dcf
|
doc: fix reference to workerData in worker_threads
This was previously incorrect.
PR-URL: https://github.com/nodejs/node/pull/21180
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
|
2018-06-13 09:54:55 +02:00 |
|
Anna Henningsen
|
03fbc9e749
|
worker: rename to worker_threads
PR-URL: https://github.com/nodejs/node/pull/20876
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
|
2018-06-13 08:45:04 +02:00 |
|