mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Clarify Storage api docs
This commit is contained in:
parent
200b215112
commit
81ae09a12b
@ -2,7 +2,7 @@
|
||||
* @namespace Storage-Composed
|
||||
* @memberof module:Storage
|
||||
* @description
|
||||
* ComposedStorage stores data to multiple storage mechanisms.
|
||||
* ComposedStorage stores data to multiple storage backends.
|
||||
* @example <caption>Store to LRU and Level</caption>
|
||||
* await ComposedStorage(await LRUStorage(), await LevelStorage())
|
||||
* @example <caption>Store to memory and IPFS</caption>
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module Storage
|
||||
* @description
|
||||
* Various storage mechanisms with a common interface.
|
||||
* Storage backends for OrbitDB.
|
||||
*/
|
||||
export { default as ComposedStorage } from './composed.js'
|
||||
export { default as IPFSBlockStorage } from './ipfs-block.js'
|
||||
|
@ -8,7 +8,7 @@
|
||||
/**
|
||||
* Creates an instance of MemoryStorage.
|
||||
* @function
|
||||
* @return {module:Storage.Storage-Memory} An instance of LRUStorage.
|
||||
* @return {module:Storage.Storage-Memory} An instance of MemoryStorage.
|
||||
* @memberof module:Storage
|
||||
* @instance
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user