@jetjs/jetjs
interface Options
Options to confifure Jet.js.
Properties
| Property | Type | Description |
|---|---|---|
| namespace | string | |
| parsingBatchSizeFactor | number | |
| pluginLoadingStrategy | string | |
| threadPoolMaxSize | number | |
| threadPoolMinSize | number | |
| threadPoolWorkerSrc | string |
Property Details
-
namespace Property
namespace for data attributes: data-<namespace>-plugins. can be empty to ignore the namespace completely: data-plugins.
Default: util/namespace/DATA_ATTR_NAMESPACE
Signature:namespace?: string; -
parsingBatchSizeFactor Property
defines the factor to calculate the batch size.
Signature:parsingBatchSizeFactor?: number; -
pluginLoadingStrategy Property
strategy to load plugins (default = 'default' see DefaultPluginLoader this loader assumes all plugins are already loaded)
Signature:pluginLoadingStrategy?: string; -
threadPoolMaxSize Property
maximum number of threads to use for the internal thread pool that will be used to execute the parser and plugins
Signature:threadPoolMaxSize?: number; -
threadPoolMinSize Property
minimum number of threads to use for the internal thread pool that will be used to execute the parser and plugins
Signature:threadPoolMinSize?: number; -
threadPoolWorkerSrc Property
The src for the thread pool worker to use. Can already include plugins.
Signature:threadPoolWorkerSrc?: string;