API Reference
interfaces
Interaction

@coasys/ad4m / Exports / Interaction

Interface: Interaction

Runtime-side interaction object. The runtime constructs one of these from a Language's interactions(address) description and exposes execute() to UI callers. Language authors describe interactions via the ALDK, not by constructing this type directly.

Table of contents

Properties

Methods

Properties

label

• Readonly label: string

Defined in

core/src/language/Language.ts:47 (opens in a new tab)


name

• Readonly name: string

Defined in

core/src/language/Language.ts:48 (opens in a new tab)


parameters

• Readonly parameters: InteractionParameter[]

Defined in

core/src/language/Language.ts:49 (opens in a new tab)

Methods

execute

▸ execute(parameters): Promise<string>

Parameters

NameType
parametersobject

Returns

Promise<string>

Defined in

core/src/language/Language.ts:50 (opens in a new tab)