§18A.12 directive #2 — the FULLY-SYNCHRONOUS factory. ZERO await: it
constructs the backend for the preloaded bridge and wraps the live engine
in a public Graph — all in one tick, suitable for synchronous React
render/hooks and synchronous SSR.
Handle resolution: the handle arg, else the preloaded handle for the
default bridge (getPreloadedCauslWasm). When NOTHING is preloaded it
throws CauslWasmNotPreloadedError — the sync factory NEVER silently
awaits an unresolved promise, and as of #280 there is no
{ fallbackToTs: true } escape from the throw either.
epic-B #32 (LANDED) — the body runs the #35-style synchronous
new WebAssembly.Instance link (instantiateConsolidatedBridgeSync) +
the authoritative flip + constructGraphOverEngine(createOpts, engine), so the
Graph this returns drives the REAL Rust engine.
§18A.12 directive #2 — the FULLY-SYNCHRONOUS factory. ZERO await: it constructs the backend for the preloaded bridge and wraps the live engine in a public
Graph— all in one tick, suitable for synchronous React render/hooks and synchronous SSR.Handle resolution: the
handlearg, else the preloaded handle for the default bridge (getPreloadedCauslWasm). When NOTHING is preloaded it throws CauslWasmNotPreloadedError — the sync factory NEVER silently awaits an unresolved promise, and as of #280 there is no{ fallbackToTs: true }escape from the throw either.epic-B #32 (LANDED) — the body runs the
#35-style synchronousnew WebAssembly.Instancelink (instantiateConsolidatedBridgeSync) + the authoritative flip +constructGraphOverEngine(createOpts, engine), so theGraphthis returns drives the REAL Rust engine.