Skip to content

Add application-defined external effects#132

Open
WhiteHades wants to merge 18 commits into
vercel-labs:mainfrom
WhiteHades:feat/application-external-effects-v2
Open

Add application-defined external effects#132
WhiteHades wants to merge 18 commits into
vercel-labs:mainfrom
WhiteHades:feat/application-external-effects-v2

Conversation

@WhiteHades

Copy link
Copy Markdown
Contributor

Closes #131.

Adds fx.external so apps can run app-owned native work through the existing effect lifecycle. Native SDK owns limits, cancellation, UI-thread delivery, and deterministic record/replay.

Example: melearner sends list_courses to its Rust core and receives the result as a normal Msg, without melearner-specific SDK APIs.

Session journals move to v7, so older journals must be re-recorded.

Verified:

  • zig build test
  • zig build validate
  • zig build test-examples-frontends
  • zig build test-examples-native
  • zig build test-examples-mobile
  • cd docs && pnpm install --frozen-lockfile && NEXT_DIST_DIR=.next-gate pnpm check

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

@WhiteHades is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

Application-defined external effects

1 participant