The desired feature set
Protected
desiredThe desired feature set
Is Wasm allowed
Whether or not to allow WASM usage
Whether or not Wasm should be used based on the desired feature set, initialization state, or force-use settings
Returns a object containing a property for each desired wasm feature with a boolean value indicating whether or not the feature is supported
Force use of Wasm
Whether or not to force Wasm usage
Whether or not Wasm is supported based on the desired feature set
Whether or not Wasm detection has been run for the desired feature set
Protected
detectChecks for specific wasm features
The list of features to check for
True if all the features are supported, false otherwise
Static
createStatic creation & async initialization for use where async instantiation is possible
The desired feature set
An initialized instance of the class with detection for the desired feature set
Instance constructor for use where async instantiation is not possible. Where possible, prefer the static create method over use of this constructor directly as no initialization (feature detection) is able to be done here