@componentor/quickjs-singlefile-browser-debug-asyncify 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +47 -0
- package/README.md +82 -0
- package/dist/chunk-WKB2Z6XZ.mjs +2 -0
- package/dist/chunk-WKB2Z6XZ.mjs.map +1 -0
- package/dist/emscripten-module.browser-STHPHKGP.mjs +2 -0
- package/dist/emscripten-module.browser-STHPHKGP.mjs.map +1 -0
- package/dist/emscripten-module.browser.d.ts +18 -0
- package/dist/emscripten-module.browser.mjs +2412 -0
- package/dist/ffi.d.mts +96 -0
- package/dist/ffi.mjs +2 -0
- package/dist/ffi.mjs.map +1 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Generated from ../../templates/emscripten-module.ASYNCIFY.d.ts
|
|
2
|
+
import type {
|
|
3
|
+
EmscriptenModuleLoader,
|
|
4
|
+
QuickJSAsyncEmscriptenModule,
|
|
5
|
+
} from "@componentor/quickjs-ffi-types"
|
|
6
|
+
/**
|
|
7
|
+
* Emscripten module built from [`quickjs/quickjs.h`](../quickjs/quickjs.h) and
|
|
8
|
+
* our FFI support functions [c/interface.c](../c/interface.c), compiled with -s
|
|
9
|
+
* ASYNCIFY=1.
|
|
10
|
+
*
|
|
11
|
+
* Because this version is built with ASYNCIFY, the C code can call asynchronous
|
|
12
|
+
* Javascript functions as though they were synchronous.
|
|
13
|
+
*
|
|
14
|
+
* Note that emscripten modules returned by a `MODULARIZE=1` emscripten build
|
|
15
|
+
* (like this one) load asynchronously.
|
|
16
|
+
*/
|
|
17
|
+
declare const ModuleLoader: EmscriptenModuleLoader<QuickJSAsyncEmscriptenModule>
|
|
18
|
+
export default ModuleLoader
|