Skip to main content

Interface: DatasetStoreAccess

Defined in: api/dataset-plugin.ts:120

This plugin's own store, plus a read-only view of anybody else's.

Methods​

read()​

read<T>(pluginId): PluginStoreView<T> | undefined

Defined in: api/dataset-plugin.ts:125

Any other plugin's store, read-only. undefined if that plugin never reserved one.

Type Parameters​

T​

T extends object

Parameters​

pluginId​

string

Returns​

PluginStoreView<T> | undefined


reserve()​

reserve<T>(): PluginStore<T>

Defined in: api/dataset-plugin.ts:123

This plugin's own reserved store, namespaced by its id. Idempotent: a second call returns the same handle.

Type Parameters​

T​

T extends object

Returns​

PluginStore<T>