Skip to content

Commit

Permalink
Transferable objects - add sidebar (mdn#23331)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee committed Jan 3, 2023
1 parent e859bb7 commit a76fe49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ tags:
- Structured clone
- Workers
---

{{DefaultAPISidebar("Web Workers API")}}

**Transferable objects** are objects that own resources that can be _transferred_ from one context to another, ensuring that the resources are only available in one context at a time.
Following a transfer, the original object is no longer usable; it no longer points to the transferred resource, and any attempt to read or write the object will throw an exception.

Expand Down
3 changes: 2 additions & 1 deletion files/jsondata/GroupData.json
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,8 @@
"guides": [
"/docs/Web/API/Web_Workers_API/Using_web_workers",
"/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers",
"/docs/Web/API/Web_Workers_API/Structured_clone_algorithm"
"/docs/Web/API/Web_Workers_API/Structured_clone_algorithm",
"/docs/Web/API/Web_Workers_API/Transferable_objects"
],
"interfaces": [
"DedicatedWorkerGlobalScope",
Expand Down

0 comments on commit a76fe49

Please sign in to comment.