Skip to content
module@warp-drive/legacy @legacy

Class ConfiguredStore<T extends { cache: Cache; }> ​

Defined in: warp-drive-packages/legacy/src/index.ts:170

Extends ​

  • Store$1

Type Parameters ​

T ​

T extends { cache: Cache; }

Indexable ​

ts
[key: string]: any

Methods ​

createCache() ​

ts
createCache(capabilities: CacheCapabilitiesManager$1): T["cache"];

Defined in: warp-drive-packages/legacy/src/index.ts:179

Instantiation hook allowing applications or addons to configure the store to utilize a custom Cache implementation.

This hook should not be called directly by consuming applications or libraries. Use Store.cache to access the Cache instance.

Parameters ​

capabilities ​

CacheCapabilitiesManager$1

Returns ​

T["cache"]

Overrides ​

ts
Store.createCache

Released under the MIT License.