feat: send flag indicating whether array is requested

This commit is contained in:
thecodrr
2020-03-09 12:44:55 +05:00
parent 968faab537
commit 1482440e42
2 changed files with 3 additions and 3 deletions

View File

@@ -8,8 +8,8 @@ export default class Storage {
readMulti(keys) {
return this.storage.readMulti(keys);
}
read(key) {
return this.storage.read(key);
read(key, isArray = false) {
return this.storage.read(key, isArray);
}
clear() {
return this.storage.clear();