Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a284c58a68 | |||
18bb54831d |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@push.rocks/npmextra",
|
||||
"version": "4.0.14",
|
||||
"version": "4.0.15",
|
||||
"private": false,
|
||||
"description": "do more with npm",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/npmextra',
|
||||
version: '4.0.14',
|
||||
version: '4.0.15',
|
||||
description: 'do more with npm'
|
||||
}
|
||||
|
@ -100,8 +100,9 @@ export class AppData {
|
||||
}
|
||||
}
|
||||
|
||||
public async waitForKeysPresent(keysArg: string[]) {
|
||||
public async waitForAndGetKey(keyArg: string) {
|
||||
await this.readyDeferred.promise;
|
||||
await this.kvStore.waitForKeysPresent(keysArg);
|
||||
await this.kvStore.waitForKeysPresent([keyArg]);
|
||||
return this.kvStore.readKey[keyArg];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user