Skip to content

workloads / main / StatefulWorkloadWithClient

Class: abstract StatefulWorkloadWithClient ​

Type Param ​

Client type

Extends ​

Extended by ​

Accessors ​

connectionString ​

Get Signature ​

ts
get connectionString(): string

Reads the value fron environment variable name that should hold the connection string.

Returns ​

string


connectionStringEnvVar ​

Get Signature ​

ts
get connectionStringEnvVar(): string

Returns the unique environment variable name that should hold the connection string.

Returns ​

string

Constructors ​

new StatefulWorkloadWithClient() ​

ts
new StatefulWorkloadWithClient(id): StatefulWorkloadWithClient

Parameters ​

ParameterTypeDescription

id

string

Unique ID.

Returns ​

StatefulWorkloadWithClient

Overrides ​

StatefulWorkload.constructor

Properties ​

PropertyModifierTypeDescription
idreadonlystringUnique ID