Skip to main content

ISession

store and retrieves values in host application's session storage

Extends

Methods

_dispose()?

optional _dispose(): void;

Returns

void

Inherited from

IScriptingObject._dispose


_toJSON()

_toJSON(): RemotingScriptingObject;

Returns

RemotingScriptingObject

Inherited from

IScriptingObject._toJSON


get()

get(key: string): Promise<string>;

get a value from the session storage

Parameters

key

string

unique key to retrieve the value

Returns

Promise<string>

value stored in the session storage


set()

set(key: string, value: string): Promise<void>;

set a value in the session storage

Parameters

key

string

unique key to store the value

value

string

value to be stored

Returns

Promise<void>

Properties

id

readonly id: string;

Inherited from

IScriptingObject.id


objectType

readonly objectType: string;

Inherited from

IScriptingObject.objectType