From e60517f53bff1e4b2736fa9cafad186e4d4b2d3c Mon Sep 17 00:00:00 2001 From: tamaina Date: Thu, 30 Dec 2021 03:41:49 +0900 Subject: [PATCH] comment --- packages/client/src/pizzax.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pizzax.ts b/packages/client/src/pizzax.ts index 543450e07..8ee1e5575 100644 --- a/packages/client/src/pizzax.ts +++ b/packages/client/src/pizzax.ts @@ -30,7 +30,7 @@ export class Storage { public readonly state = {} as State; public readonly reactiveState = {} as ReactiveState; - // indexedDB保存を重複させないために簡易的にキューイング + // 簡易的にキューイングして占有ロックとする private nextIdbJob: Promise = Promise.resolve(); private addIdbSetJob(job: () => Promise) { const promise = this.nextIdbJob.then(job, e => {