mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-28 06:53:42 +08:00
Each limitations partial held its whole text on one line (map-and-set.mdx was a single 1,080-character line), so any two edits to the same partial conflicted. The partials now put one sentence per line, with a bullet's continuation lines indented two spaces. Markdown joins the lines, so the rendered pages are unchanged. scripts/limitations-partials.mjs reads a labeled bullet's indented continuation lines as part of the bullet when it splits and joins the page, and AGENTS.md states the convention.
7 lines
481 B
Plaintext
7 lines
481 B
Plaintext
FFI format 5 accepts retained, context-bearing `void` callbacks invoked by library-owned threads.
|
|
The native callback copies arguments and queues work; the script closure runs on the event loop at least one turn later.
|
|
These callbacks are not suitable for real-time execution.
|
|
|
|
Value-returning callbacks and direct script execution on foreign threads are unsupported.
|
|
Reference counting and exception state belong to the script thread, and waiting for the event loop can deadlock.
|