Methods
delete
- delete(key: string): void
-
Returns void
deleteAsync
- deleteAsync(key: string): void
-
Returns void
flush
- flush(): void
-
Returns void
getKvpFloat
- getKvpFloat(key: string): number
-
Returns number
getKvpJson
- getKvpJson<T>(key: string): T
-
Returns T
getKvpNumber
- getKvpNumber(key: string): number
-
Returns number
getKvpString
- getKvpString(key: string): null | string
-
Returns null | string
getKvpsAsFloat
- getKvpsAsFloat(prefix: string): IterableIterator<number>
-
Returns IterableIterator<number>
getKvpsAsNumber
- getKvpsAsNumber(prefix: string): IterableIterator<number>
-
Returns IterableIterator<number>
getKvpsAsString
- getKvpsAsString(prefix: string): IterableIterator<string>
-
Returns IterableIterator<string>
Private
handleKvp
- handleKvp<T>(prefix: string, iterType: "string" | "number" | "float"): IterableIterator<T>
-
Parameters
-
prefix: string
-
iterType: "string" | "number" | "float"
Returns IterableIterator<T>
setKvp
- setKvp<T>(key: string, value: T): void
-
Returns void
setKvpAsync
- setKvpAsync<T>(key: string, value: T): void
-
Returns void
setKvpJson
- setKvpJson(key: string, value: any): void
-
Returns void
Deletes the specified value for key, this is a blocking operation, if you're deleting a bunch of keys you should use deleteAsync