Skip to main content

Type Alias: CreateKVStore()

CreateKVStore: (name) => KVStore

Factory function for creating Store instances.

The name is used to identify the store. If the same name is used for multiple stores, they should share the same data. It is also desirable to have these stores share an RWLock.

Parameters

name

string

Returns

KVStore