• Sets the path to the directory that contains the laz-perf library files.

    This must be set before instantiating any class that makes use of this library.

    For example, if the laz-perf.wasm file is served from <website>/public/wasm/laz-perf.wasm, the path to configure is the following:

    setLazPerfPath('/public/wasm/');
    

    Note: the default path to the laz-perf library is DEFAULT_LAZPERF_PATH.

    Parameters

    • path: string

    Returns void