Skip to content

Session

Sessions contain business logic that do model selection and Program execution.

Constructors

new Session(sessionId)

new Session(sessionId): Session

Parameters

sessionId: string

Returns

Session

Accessors

sessionId

get sessionId(): string

Returns

string

Methods

execute()

execute(program): Promise<void>

Execute the program, step by step. This may result in multiple calls to the Model.

Parameters

program: Program

The program to execute.

Returns

Promise<void>


Generated using typedoc-plugin-markdown and TypeDoc