cxx-frontend
    Preparing search index...

    Function loadCxx

    • Loads and instantiates the cxx wasm module.

      Must be called, and its promise awaited, before Parser is used.

      Safe to call multiple times: subsequent calls return the same in-flight or settled promise. The module is a process-wide singleton, a second, different wasm binary cannot be loaded in the same JS realm.

      Parameters

      Returns Promise<void>