@sigx/lynx-runtime-internal
v0.14.0
Published
Shared op types for SignalX Lynx renderer (BG ↔ MTS wire protocol)
Readme
@sigx/lynx-runtime-internal
Internal package. Shared type declarations only. If you're writing application code, depend on
@sigx/lynxinstead — the public surface is re-exported there.
Shared types for the BG ↔ MT wire protocol used by @sigx/lynx-runtime and @sigx/lynx-runtime-main. Re-exports nothing user-facing; ship-time decoupling only.
📚 Documentation
Full guides, API reference and live examples → https://sigx.dev/lynx/
Contents
OP— the numeric op codes that travel from the background thread to the main thread (CREATE,SET_STYLE,SET_WORKLET_EVENT,INIT_MT_REF,REGISTER_AV_BRIDGE, etc.). Both runtime packages import these so they stay aligned.MapperParams,BuiltinMapperName,AnimatedStyleMapper— the type signatures consumed byuseAnimatedStyle(@sigx/lynx-gestures) and the MT-side mapper registry (@sigx/lynx-runtime-main)../snapshotsubpath — the snapshot-template transform contract (#620):createSnapshot,snapshotCreatorMap,__pageId, the__DynamicPart*constants, and the hole updaters that compiled template registrations reference. Thread-neutral by design — the module is byte-identical in both bundles; element-specific behavior is installed by@sigx/lynx-runtime-main's bootstrap viainstallSnapshotHooks. Nothing in production emits or instantiates templates yet (the transform stays off until the loader phase).
License
MIT
