Skip to content

Document rethrowRetire for compiled extensions - #20

Merged
Mistium merged 2 commits into
masterfrom
compiled-rethrow-retire
Nov 1, 2026
Merged

Mistium merged 2 commits into
masterfrom
compiled-rethrow-retire

Conversation

@Mistium

@Mistium Mistium commented Nov 1, 2026

Copy link
Copy Markdown
Member

Stacked on #19.

This documents rethrowRetire, a new helper in the compiled extension context from MistWarp/scratch-vm#41. After the TurboWarp compiler performance port, stop all or delete this clone inside a custom block stops compiled code by throwing. An extension that wraps branch() or an input in try/catch has to rethrow that signal, or the code after its catch keeps running.

  • New section: "Catching errors around a branch", on the compiled extensions advanced page, after the C block fallback.
  • Mapping table: the compile/compFunc table now lists branch, yieldLoop and rethrowRetire on util.

The new section in the light theme
The new section in the light theme.

The new section in the dark theme
The same section in the dark theme.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 44e35a9
Status:⚡️  Build in progress...

View logs

@Mistium
Mistium force-pushed the compiled-rethrow-retire branch from d27c334 to 44e35a9 Compare November 1, 2026 07:16
@Mistium
Mistium changed the base branch from docs-rework to master November 1, 2026 07:16
@Mistium
Mistium merged commit f7696da into master Nov 1, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant