You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/source/docs/api_reference/emscripten.h.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -399,7 +399,7 @@ Functions
399
399
400
400
401
401
.. note::
402
-
- Main loop blockers block the main loop from running, and can be counted to show progress. In contrast, ``emscripten_async_calls`` are not counted, do not block the main loop, and can fire at specific time in the future.
402
+
- Main loop blockers block the main loop from running, and can be counted to show progress. In contrast, :c:func:`emscripten_async_call` is not counted, does not block the main loop, and can fire at a specific time in the future.
403
403
404
404
:param em_arg_callback_func func: The main loop blocker function. The function signature must have a ``void*`` parameter for passing the ``arg`` value.
405
405
:param void* arg: User-defined arguments to pass to the blocker function.
Copy file name to clipboardExpand all lines: src/postamble_minimal.js
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -108,13 +108,17 @@ var imports = {
108
108
109
109
#if MINIMAL_RUNTIME_STREAMING_WASM_INSTANTIATION
110
110
// https://caniuse.com/#feat=wasm and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiateStreaming
// Module['wasm'] should contain a typed array of the Wasm object data, or a
114
114
// precompiled WebAssembly Module.
115
115
assert(WebAssembly.instantiateStreaming||Module['wasm'],'Must load WebAssembly Module in to variable Module.wasm before adding compiled output .js script to the DOM');
116
116
#endif
117
117
(WebAssembly.instantiateStreaming
118
+
#if ENVIRONMENT_MAY_BE_NODE
119
+
// Node's fetch API cannot be used for local files, so we cannot use instantiateStreaming
0 commit comments