본문으로 건너뛰기

EngineInfo

Defined in: impl/js/src/types.ts:66

Which engine build is loaded, for diagnostics (xl3#103). Hosts report this alongside a bad conversion so "which xl3 produced this?" has an answer that does not depend on the host tracking it separately.

Properties

PropertyTypeDescriptionDefined in
backend"wasm" | "js"Which backend an engine: 'auto' call resolves to right now: 'wasm' when the optional xl3-wasm dependency loads and instantiates, 'js' otherwise. This reports what is available, not what ran. 'auto' still falls back to the JS path per-call when a template uses a feature outside the wasm engine's support matrix, so a 'wasm' answer does not mean every conversion took that path.impl/js/src/types.ts:79
versionstringThe package version — same value as the VERSION export.impl/js/src/types.ts:68