Precompile native modules off request path
This commit is contained in:
@@ -93,6 +93,16 @@ String wasm_backend_start(Request& request)
|
||||
return(wasm_backend_ensure_started(&request));
|
||||
}
|
||||
|
||||
bool wasm_serialized_module_needs_refresh(const String& wasm_path)
|
||||
{
|
||||
return(WasmWorker::serialized_module_needs_refresh(wasm_path));
|
||||
}
|
||||
|
||||
String wasm_serialize_module_artifact(const String& wasm_path)
|
||||
{
|
||||
return(WasmWorker::serialize_module_artifact(wasm_path));
|
||||
}
|
||||
|
||||
static bool wasm_artifact_exists(Request* context, const String& entry_unit)
|
||||
{
|
||||
if(entry_unit == "")
|
||||
|
||||
Reference in New Issue
Block a user