Interface ISessionStorage
interface ISessionStorage { delete(key): Promise<boolean>; get(key): Promise<undefined | object>; set(key,
value): Promise<boolean>; touch(key): Promise<void>; } Methods
delete
- delete(key): Promise<boolean>
Returns Promise<boolean>
get
- get(key): Promise<undefined | object>
Returns Promise<undefined | object>
set
- set(key, value): Promise<boolean>
Returns Promise<boolean>
touch
- touch(key): Promise<void>
Returns Promise<void>