IHMSSessionStoreActions<T>

Type parameters

Name
T

Methods

observe

observe(keys): Promise<void>

observe a particular key or set of keys to receive updates of its latest value when its changed

Parameters

NameType
keyskeyof T | keyof T[]

Returns

Promise<void>


set

set<K>(key, value?): Promise<void>

Type parameters

NameType
Kextends string | number | symbol

Parameters

NameType
keyK
value?T[K]

Returns

Promise<void>


unobserve

unobserve(keys): Promise<void>

unobserve a particular key or set of keys to stop receiving updates of its latest value

Parameters

NameType
keyskeyof T | keyof T[]

Returns

Promise<void>


Have a suggestion? Recommend changes ->

Was this helpful?

1234