process static method
Documentation is in emscripten_module_stub.dart!
Implementation
static Future<EmscriptenModule> process(String moduleName) async {
Function moduleFunction = _moduleFunction(moduleName);
_EmscriptenModuleJs module = new _EmscriptenModuleJs();
Object? o = moduleFunction(module);
if (o != null) {
await promiseToFuture(o);
return new EmscriptenModule._fromJs(module);
} else {
throw new StateError('Could not instantiate an emscripten module!');
}
}