Skip to content

Documentation / js-sdk-core / Storage

Interface: Storage

Methods

del()

del(key): void | Promise<void>

Parameters

key: string

Returns

void | Promise<void>


get()

get(key): unknown

Parameters

key: string

Returns

unknown


getKeys()

getKeys(): string[] | Promise<string[]>

Returns

string[] | Promise<string[]>


put()

put(key, value): void | Promise<void>

Parameters

key: string

value: unknown

Returns

void | Promise<void>