Skip to content

Engine

Constructors

new Engine()

new Engine(app, plugin): Engine

Parameters

Parameter Type

app

App

plugin

JsEnginePlugin

Returns

Engine

Defined in

jsEngine/engine/Engine.ts:40

Properties

activeExecutions

readonly activeExecutions: Map<string, JsExecution>

Defined in

jsEngine/engine/Engine.ts:38

Methods

execute()

execute(params): Promise<JsExecution>

Execute JavaScript code.

Parameters

Parameter Type Description

params

EngineExecutionParams

Returns

Promise<JsExecution>

Defined in

jsEngine/engine/Engine.ts:53


openExecutionStatsModal()

openExecutionStatsModal(jsExecution): void

Open the execution stats modal for a given JsExecution.

Parameters

Parameter Type Description

jsExecution

JsExecution

Returns

void

Defined in

jsEngine/engine/Engine.ts:73