Interface: QuickJSSyncVariant
February 16, 2026 ยท View on GitHub
quickjs-emscripten / quickjs-emscripten-core / QuickJSSyncVariant
Interface: QuickJSSyncVariant
Defined in: packages/quickjs-ffi-types/src/variant-types.ts:28
A standard (sync) build variant.
quickjs-emscripten provides multiple build variants of the core WebAssembly module. These variants are each intended for a different use case.
To create an instance of the library using a specific build variant, pass the build variant to newQuickJSWASMModule or newQuickJSAsyncWASMModule.
Contents
Properties
importFFI()
readonlyimportFFI: () =>Promise<(module) =>QuickJSFFI>
Defined in: packages/quickjs-ffi-types/src/variant-types.ts:30
Returns
Promise<(module) => QuickJSFFI>
importModuleLoader()
readonlyimportModuleLoader: () =>Promise<EmscriptenImport<QuickJSEmscriptenModule>>
Defined in: packages/quickjs-ffi-types/src/variant-types.ts:31
Returns
Promise<EmscriptenImport<QuickJSEmscriptenModule>>
type
readonlytype:"sync"
Defined in: packages/quickjs-ffi-types/src/variant-types.ts:29