Files
scriptc/docs/content/docs/meta.json
T
Malte Ubl 6835e5a734 Document sharing published graphs between workers
The new docs page (/docs/threads) explains @scriptc/threads: a runnable
example that publishes a million-order ledger and sends it to four
workers, verified under Node.js 24 and as a scriptc executable; what
publish accepts and refuses, and that a refused publish leaves the graph
unchanged; the frozen-object TypeErrors of the write guard; a comparison
with Node's structured clone (constant-time sends, preserved classes and
identity, immortal objects) and the three rules that make a program
behave the same under both; the automatic sharing of deeply frozen
untyped data; and the cost model. The limitations page gains a Published
graphs section (immortality, class and identity differences, write-check
evaluation order, private fields) and links the new page from the
worker-threads section.

This is the first page added since the migration, so the route-test
fixture now accepts pages without a legacy URL, and the agent guide's
checklist for new pages names the fixture.
2026-10-10 01:00:36 -05:00

21 lines
310 B
JSON

{
"title": "Documentation",
"pages": [
"---Get Started---",
"index",
"quickstart",
"---Guides---",
"coverage",
"dependencies",
"ffi",
"native-objects",
"threads",
"wasm",
"platforms",
"---Reference---",
"cli",
"how-it-works",
"limitations"
]
}