()
| 600 | * Create a new WasmReconstructionWrapper and initialize it |
| 601 | */ |
| 602 | export async function createWasmReconstruction(): Promise<WasmReconstructionWrapper | null> { |
| 603 | const wrapper = new WasmReconstructionWrapper(); |
| 604 | const success = await wrapper.initialize(); |
| 605 | return success ? wrapper : null; |
| 606 | } |
| 607 | |
| 608 | /** |
| 609 | * Try to create WASM reconstruction, return null if unavailable |
no test coverage detected