Initial LinuxCNC WebAssembly workspace snapshot
This commit is contained in:
6
web/workspace/recovery.mjs
Normal file
6
web/workspace/recovery.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
import { WorkspaceJournal } from "./journal.mjs";
|
||||
|
||||
export function recoverWorkspace(storage, options = {}) {
|
||||
const journal = new WorkspaceJournal(storage, options);
|
||||
return journal.recover();
|
||||
}
|
||||
Reference in New Issue
Block a user