scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
19 lines (18 loc) • 699 B
TypeScript
/**
* Helper class for detecting WebAssembly SIMD support
*/
export declare class SimdHelper {
/**
* Detects whether the current browser supports WebAssembly SIMD instructions.
* This code is run once and the result is cached. If your browser supports Wasm SIMD then all following calls will return true
*
* See also {@link SciChartDefaults.useWasmSimd} to globally enable or disable Wasm simd support in SciChart.js
*
* @returns true if WASM SIMD is supported, false otherwise
*/
static supportsWasmSIMD(): boolean;
/**
* Cached result of SIMD detection to avoid repeated validation
*/
private static supportsSimd;
}