Skip to content

sgns::runtime::binaryen::WasmModuleFactoryImpl

#include <wasm_module_factory_impl.hpp>

Inherits from sgns::runtime::binaryen::WasmModuleFactory

Public Functions

Name
~WasmModuleFactoryImpl() override =default
virtual outcome::result< std::unique_ptr< WasmModule > > createModule(const base::Buffer & code, std::shared_ptr< RuntimeExternalInterface > rei) const override

Additional inherited members

Public Functions inherited from sgns::runtime::binaryen::WasmModuleFactory

Name
virtual ~WasmModuleFactory() =default

Public Functions Documentation

function ~WasmModuleFactoryImpl

~WasmModuleFactoryImpl() override =default

function createModule

virtual outcome::result< std::unique_ptr< WasmModule > > createModule(
    const base::Buffer & code,
    std::shared_ptr< RuntimeExternalInterface > rei
) const override

Reimplements: sgns::runtime::binaryen::WasmModuleFactory::createModule

A module will be created with the provided

  • code and instantiated with
  • rei (runtime external interface) the module in case of success

Updated on 2026-03-04 at 13:10:43 -0800