@componentor/quickjs-wasmfile-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.
@@ -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
@@ -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