Skip to content

SaveStorage

Defined in: save/src/types.ts:5

Pluggable storage backend for save data.

delete(key): void

Defined in: save/src/types.ts:8

string

void


list(prefix?): string[]

Defined in: save/src/types.ts:10

Return all keys, optionally filtered to those starting with prefix.

string

string[]


load(key): string | null

Defined in: save/src/types.ts:6

string

string | null


save(key, data): void

Defined in: save/src/types.ts:7

string

string

void