MapDb
MapDb:
object
Helper class to access the metaDB with methods put
, get
, and delete
Type declaration
deepCopy()
Returns
delete()
Parameters
• type: DbType
• hash: Uint8Array
Returns
Promise
<void
>
get()
Parameters
• type: DbType
• hash: Uint8Array
Returns
Promise
<null
| Uint8Array
>
put()
Parameters
• type: DbType
• hash: Uint8Array
• value: Uint8Array
Returns
Promise
<void
>