diff options
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r-- | doc/api/worker_threads.md | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 2277228f82e..33f2811a83c 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -1241,63 +1241,63 @@ from the running process and will preload the same preload scripts as the main thread. If the preload script unconditionally launches a worker thread, every thread spawned will spawn another until the application crashes. -[Addons worker support]: addons.md#addons_worker_support -[ECMAScript module loader]: esm.md#esm_data_imports +[Addons worker support]: addons.md#worker-support +[ECMAScript module loader]: esm.md#data-imports [HTML structured clone algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm -[Signals events]: process.md#process_signal_events +[Signals events]: process.md#signal-events [Web Workers]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API -[`'close'` event]: #worker_threads_event_close -[`'exit'` event]: #worker_threads_event_exit -[`'online'` event]: #worker_threads_event_online +[`'close'` event]: #event-close +[`'exit'` event]: #event-exit +[`'online'` event]: #event-online [`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer -[`AsyncResource`]: async_hooks.md#async_hooks_class_asyncresource -[`Buffer.allocUnsafe()`]: buffer.md#buffer_static_method_buffer_allocunsafe_size +[`AsyncResource`]: async_hooks.md#class-asyncresource +[`Buffer.allocUnsafe()`]: buffer.md#static-method-bufferallocunsafesize [`Buffer`]: buffer.md -[`ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`]: errors.md#errors_err_missing_message_port_in_transfer_list -[`ERR_WORKER_NOT_RUNNING`]: errors.md#ERR_WORKER_NOT_RUNNING +[`ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`]: errors.md#err_missing_message_port_in_transfer_list +[`ERR_WORKER_NOT_RUNNING`]: errors.md#err_worker_not_running [`EventTarget`]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget -[`FileHandle`]: fs.md#fs_class_filehandle -[`MessagePort`]: #worker_threads_class_messageport +[`FileHandle`]: fs.md#class-filehandle +[`MessagePort`]: #class-messageport [`SharedArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer [`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array [`WebAssembly.Module`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module -[`Worker constructor options`]: #worker_threads_new_worker_filename_options -[`Worker`]: #worker_threads_class_worker +[`Worker constructor options`]: #new-workerfilename-options +[`Worker`]: #class-worker [`cluster` module]: cluster.md [`data:` URL]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs -[`fs.close()`]: fs.md#fs_fs_close_fd_callback -[`fs.open()`]: fs.md#fs_fs_open_path_flags_mode_callback -[`markAsUntransferable()`]: #worker_threads_worker_markasuntransferable_object -[`perf_hooks.performance`]: perf_hooks.md#perf_hooks_perf_hooks_performance -[`perf_hooks` `eventLoopUtilization()`]: perf_hooks.md#perf_hooks_performance_eventlooputilization_utilization1_utilization2 -[`port.on('message')`]: #worker_threads_event_message +[`fs.close()`]: fs.md#fsclosefd-callback +[`fs.open()`]: fs.md#fsopenpath-flags-mode-callback +[`markAsUntransferable()`]: #workermarkasuntransferableobject +[`perf_hooks.performance`]: perf_hooks.md#perf_hooksperformance +[`perf_hooks` `eventLoopUtilization()`]: perf_hooks.md#performanceeventlooputilizationutilization1-utilization2 +[`port.on('message')`]: #event-message [`port.onmessage()`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage -[`port.postMessage()`]: #worker_threads_port_postmessage_value_transferlist -[`process.abort()`]: process.md#process_process_abort -[`process.chdir()`]: process.md#process_process_chdir_directory -[`process.env`]: process.md#process_process_env -[`process.execArgv`]: process.md#process_process_execargv -[`process.exit()`]: process.md#process_process_exit_code -[`process.stderr`]: process.md#process_process_stderr -[`process.stdin`]: process.md#process_process_stdin -[`process.stdout`]: process.md#process_process_stdout -[`process.title`]: process.md#process_process_title -[`require('worker_threads').isMainThread`]: #worker_threads_worker_ismainthread -[`require('worker_threads').parentPort.on('message')`]: #worker_threads_event_message -[`require('worker_threads').parentPort.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist -[`require('worker_threads').parentPort`]: #worker_threads_worker_parentport -[`require('worker_threads').threadId`]: #worker_threads_worker_threadid -[`require('worker_threads').workerData`]: #worker_threads_worker_workerdata +[`port.postMessage()`]: #portpostmessagevalue-transferlist +[`process.abort()`]: process.md#processabort +[`process.chdir()`]: process.md#processchdirdirectory +[`process.env`]: process.md#processenv +[`process.execArgv`]: process.md#processexecargv +[`process.exit()`]: process.md#processexitcode +[`process.stderr`]: process.md#processstderr +[`process.stdin`]: process.md#processstdin +[`process.stdout`]: process.md#processstdout +[`process.title`]: process.md#processtitle +[`require('worker_threads').isMainThread`]: #workerismainthread +[`require('worker_threads').parentPort.on('message')`]: #event-message +[`require('worker_threads').parentPort.postMessage()`]: #workerpostmessagevalue-transferlist +[`require('worker_threads').parentPort`]: #workerparentport +[`require('worker_threads').threadId`]: #workerthreadid +[`require('worker_threads').workerData`]: #workerworkerdata [`trace_events`]: tracing.md -[`v8.getHeapSnapshot()`]: v8.md#v8_v8_getheapsnapshot +[`v8.getHeapSnapshot()`]: v8.md#v8getheapsnapshot [`vm`]: vm.md -[`worker.SHARE_ENV`]: #worker_threads_worker_share_env -[`worker.on('message')`]: #worker_threads_event_message_1 -[`worker.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist -[`worker.terminate()`]: #worker_threads_worker_terminate -[`worker.threadId`]: #worker_threads_worker_threadid_1 -[async-resource-worker-pool]: async_hooks.md#async-resource-worker-pool +[`worker.SHARE_ENV`]: #workershare_env +[`worker.on('message')`]: #event-message_1 +[`worker.postMessage()`]: #workerpostmessagevalue-transferlist +[`worker.terminate()`]: #workerterminate +[`worker.threadId`]: #workerthreadid_1 +[async-resource-worker-pool]: async_context.md#using-asyncresource-for-a-worker-thread-pool [browser `MessagePort`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort [child processes]: child_process.md -[contextified]: vm.md#vm_what_does_it_mean_to_contextify_an_object -[v8.serdes]: v8.md#v8_serialization_api +[contextified]: vm.md#what-does-it-mean-to-contextify-an-object +[v8.serdes]: v8.md#serialization-api |