Constructors
constructor
- new StorageService(environment, factory?): StorageService
Accessors
factory
- set factory(factory): void
Parameters
- factory: ((namespace: string) => Storage)
Returns void
location
- get location(): undefined | string
Returns undefined | string
- set location(location): void
Parameters
- location: undefined | string
Returns void
Methods
[value]
- [value](): (string | Record<string, unknown> & Diagnostic)[]
Returns (string | Record<string, unknown> & Diagnostic)[]
open
- open(namespace): Promise<StorageManager<Storage>>
Static
[create]
- [create](environment): StorageService
Service adapter for the Matter.js storage API.