Skip to content

InstanceId

Defined in: jsEngine/api/InstanceId.ts:13

Identifies an instance of the API.

For the API passed into a JsExecution this is the id of the JsExecution itself.

Constructors

new InstanceId()

new InstanceId(name, id, executionContext?): InstanceId

Defined in: jsEngine/api/InstanceId.ts:18

Parameters

Parameter Type

name

string

id

string

executionContext?

ExecutionContext

Returns

InstanceId

Properties

executionContext

readonly executionContext: undefined | ExecutionContext

Defined in: jsEngine/api/InstanceId.ts:16


id

readonly id: string

Defined in: jsEngine/api/InstanceId.ts:15


name

readonly name: string

Defined in: jsEngine/api/InstanceId.ts:14

Methods

toString()

toString(): string

Defined in: jsEngine/api/InstanceId.ts:24

Returns

string


create()

static create(name): InstanceId

Defined in: jsEngine/api/InstanceId.ts:28

Parameters

Parameter Type

name

string

Returns

InstanceId