Class: PluginsManager
PluginsManager
Methods
(static) connectWASM(factory, st, baseURLopt) → {Module}
WebAssembly plugin integration in bundles env, like webpack
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
factory | function | Plugin @digital-ink/wasm export | ||
st | boolean | When is true, single thread distribution will be loaded | ||
baseURL | URI | <optional> | /node_modules/@digital-ink/wasm | native parent folder (applicable for non mjs env) |
Returns:
wasm functionality
Type
Module
(static) connectWorkers(factory, baseURLopt) → {Module}
Workers plugin integration in bundles env, like webpack
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
factory | function | Plugin @digital-ink/workers export | ||
baseURL | URI | <optional> | /node_modules/@digital-ink/workers | workers parent folder (applicable for non mjs env) |
Returns:
workers functionality
Type
Module
(static) installWASM(prefixopt, stopt) → {Module}
WebAssembly plugin integration
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
prefix | string | <optional> | "" | URI prefix Appends prefix on every dependency template |
st | boolean | <optional> | false | When is true, single thread distribution will be loaded. When SharedArrayBuffer is not available it is true. |
Returns:
wasm functionality
Type
Module
(static) installWorkers(prefixopt) → {Module}
Workers plugin integration
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
prefix | string | <optional> | "" | URI prefix Appends prefix on every dependency template |
Returns:
workers functionality
Type
Module