Skip to content

MapDb

MapDb: object

Helper class to access the metaDB with methods put, get, and delete

Type declaration

deepCopy()

Returns

MapDb

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>

Defined in

MapDb.ts:20