Function: createStorageProvider()
function createStorageProvider(adapter, cache?): StorageProvider;Defined in: packages/core/src/storage/storage-provider.ts:184
Creates a StorageProvider wrapping an adapter.
Parameters
| Parameter | Type | Description |
|---|---|---|
adapter | StorageAdapter | - |
cache? | BodyCache | Where it keeps version bodies in memory: shared with other stores, or by default one of its own of 50,000 |