Merge branch 'develop' into pizzax-indexeddb

This commit is contained in:
tamaina
2021-12-30 00:46:35 +09:00
39 changed files with 560 additions and 615 deletions

View File

@@ -41,6 +41,8 @@ export class Storage<T extends StateDef> {
return promise;
}
private connection = stream.useChannel('main');
constructor(key: string, def: T) {
this.key = key;
this.deviceStateKeyName = `pizzax::${key}`;