Nested dedicated workers

This allows workers to spawn additional, descendant dedicated workers. This can be used to better distribute tasks without needing time on the main thread where rendering and user input are being handled. This also allows libraries which use workers to be adapted to run in a worker context themselves, giving developers more options to move business logic off of the main thread.

Comments

Dedicated workers can create nested workers, but shared workers and service workers cannot. Creating a nested dedicated worker from a shared worker is not yet supported. Nested shared workers are also in the spec, but there is no plan to support them at this time.

Specification

Established standard

Status in Chromium

Blink>Workers


Enabled by default (tracking bug) in:

  • Chrome for desktop release 69
  • Chrome for Android release 69
  • Android WebView release 69

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped
  • Shipped
  • No public signals
  • Strongly positive

Owner

Last updated on 2018-10-22