StorageBackedList
StorageBackedSet
Kind: global class
- StorageBackedSet
- .key :
string
- .storage :
Storage
- .initialize(key, storage)
- .read() ⇒
Promise.<Array.<T>>
- .add(value) ⇒
Promise.<Array.<T>>
- .contains(value) ⇒
Promise.<boolean>
- .remove(value) ⇒
Promise.<boolean>
- .key :
storageBackedSet.key : string
Kind: instance property of StorageBackedSet
storageBackedSet.storage : Storage
Kind: instance property of StorageBackedSet
storageBackedSet.initialize(key, storage)
Kind: instance method of StorageBackedSet
Param | Type |
---|---|
key | string |
storage | Storage |
storageBackedSet.read() ⇒ Promise.<Array.<T>>
Kind: instance method of StorageBackedSet
storageBackedSet.add(value) ⇒ Promise.<Array.<T>>
Kind: instance method of StorageBackedSet
Param | Type |
---|---|
value | T |
storageBackedSet.contains(value) ⇒ Promise.<boolean>
Kind: instance method of StorageBackedSet
Param | Type |
---|---|
value | T |
storageBackedSet.remove(value) ⇒ Promise.<boolean>
Kind: instance method of StorageBackedSet
Param | Type |
---|---|
value | T |