async loadNativeClipperLibInstanceAsync(format: NativeClipperLibRequestedFormat): Promise<ClipperLibWrapper>
Asynchronously tries to load a new native instance of the clipper library to be shared across all method invocations.
-
format: NativeClipperLibRequestedFormat
Format to load, either WasmThenAsmJs, WasmOnly or AsmJsOnly.
-
Promise<ClipperLibWrapper>
Promise that resolves with the wrapper instance.