interface KvMap { size : number ; clear ( ) : void ; delete ( key : ArrayBuffer ) : void ; forEach ( callback : ( ( value : ArrayBuffer ,
key : ArrayBuffer ,
kvmap : KvMap ) => void ) ) : void ; get ( key : ArrayBuffer ) : undefined | ArrayBuffer ; getVersionOfPreviousWrite ( key : ArrayBuffer ) : undefined | number ; has ( key : ArrayBuffer ) : boolean ; set ( key : ArrayBuffer ,
value : ArrayBuffer ) : KvMap ; } Properties Methodsclear clear ( ) : void Returns void delete delete ( key ) : void Returns void for Each for Each ( callback ) : void Parameters callback : ( ( value : ArrayBuffer , key : ArrayBuffer , kvmap : KvMap ) => void ) ( value , key , kvmap ) : void Parameters value : ArrayBuffer key : ArrayBuffer kvmap : KvMap Returns void Returns void get get ( key ) : undefined | ArrayBuffer Returns undefined | ArrayBuffer get Version Of Previous Write get Version Of Previous Write ( key ) : undefined | number Returns undefined | number has has ( key ) : boolean Returns boolean set set ( key , value ) : KvMap Parameters key : ArrayBuffer value : ArrayBuffer
A map in the Key Value Store.
KVMap
is modelled after JavaScript'sMap
object, except that keys and values must be of typeArrayBuffer
and no guarantees on iteration order are provided.