Terminating a shared worker connection

You can terminate a parent's connection from the shared worker, or completely shut down the shared worker. However, the latter can only be done by the worker's JS. The following sections talk about how you can terminate a single parent's connection with the worker.

Get Learn ECMAScript - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.