LogoRobo.js
Packages@robojs/mock

SessionStorage

Interface: SessionStorage

Storage interface for session persistence Default implementation is in-memory, can be swapped for Flashcore

Properties

PropertyType
sizenumber

Methods

clear()

clear(): void

Returns

void


delete()

delete(id): boolean

Parameters

ParameterType
idstring

Returns

boolean


get()

get(id): undefined | ISession

Parameters

ParameterType
idstring

Returns

undefined | ISession


set()

set(id, session): void

Parameters

ParameterType
idstring
sessionISession

Returns

void


values()

values(): IterableIterator<ISession, any, any>

Returns

IterableIterator<ISession, any, any>

On this page