Skip to content

ScriptEvaluatorClientEngine

Constructors

new ScriptEvaluatorClientEngine()

new ScriptEvaluatorClientEngine(engineFactory: ScriptEvaluatorClientFactory, timeout: number): ScriptEvaluatorClientEngine

Parameters

engineFactory: ScriptEvaluatorClientFactory

timeout: number= DEFAULT_TIMEOUT

Returns

ScriptEvaluatorClientEngine

Methods

executeScript()

executeScript(script: string, data: ScriptContextData, userAvailableHandlers: ScriptEventHandlers): Promise<ScriptTranformResult>

Parameters

script: string

data: ScriptContextData

userAvailableHandlers: ScriptEventHandlers

Returns

Promise<ScriptTranformResult>