You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@splunk/async-dynamic-options-evaluator

Package Overview
Dependencies
Maintainers
14
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splunk/async-dynamic-options-evaluator

### AsyncDynamicOptionsEvaluator

28.0.0
latest
npmnpm
Version published
Weekly downloads
860
7.37%
Maintainers
14
Weekly downloads
 
Created
Source

@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
    );
    */
});

FAQs

Package last updated on 14 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts