ISession
store and retrieves values in host application's session storage
Extends
Methods
_dispose()?
optional _dispose(): void;
Returns
void
Inherited from
_toJSON()
_toJSON(): RemotingScriptingObject;
Returns
Inherited from
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
objectType
readonly objectType: string;