26.4.0 • Published 8 months ago

@splunk/async-dynamic-options-evaluator v26.4.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
8 months ago

@splunk/async-dynamic-options-evaluator

AsyncDynamicOptionsEvaluator

A package that utilizes Web Workers to offload the work done within @splunk/visualization-encoding Options.evaluate to a seperate thread.

Input Parameters

  • visualizationID
  • props
  • options
  • dataSources
  • theme

Output

  • Promise that resolves and returns evaluated dynamic options

Example Usage

// WIP
AsyncDynamicOptionsEvaluator.evaluate({
    visualizationID: 'test-id',
    props: {},
    options: {},
    dataSources: {},
    theme: { background: () => '#ffffff' },
}).then(results => {
    /**
     results.results is the same as the return value from
     @splunk/visualization-encoding/Options.evaluate(
        {
            context: defaultsDeep({}, context, vizConfig.defaultContext),
            options: deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions),
        },
        dataSources,
        themeFunc
    );
    */
});
26.4.0

8 months ago

26.3.0

9 months ago

26.2.1

10 months ago

26.1.2

12 months ago

26.2.0

10 months ago

26.1.1

12 months ago

26.1.0

1 year ago

26.0.0

1 year ago

25.13.1

1 year ago

25.13.0

1 year ago

25.12.0

1 year ago

25.10.0

2 years ago

25.11.0

2 years ago

25.9.1

2 years ago

25.9.0

2 years ago

25.8.0

2 years ago

25.8.1

2 years ago

25.7.1

2 years ago

25.7.0

2 years ago

25.7.2

2 years ago

25.6.0

2 years ago