1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

sequentialize updates

This commit is contained in:
Kyle Spearrin
2018-07-23 14:42:37 -04:00
parent c7e8f1d13f
commit 003c730eb1
3 changed files with 11 additions and 19 deletions

View File

@@ -104,6 +104,7 @@ export class CryptoService implements CryptoServiceAbstraction {
return this.storageService.get<string>(Keys.keyHash);
}
@sequentialize()
async getEncKey(): Promise<SymmetricCryptoKey> {
if (this.encKey != null) {
return this.encKey;