Skip to content

Instantly share code, notes, and snippets.

@dontpaniclabsgists
Created January 17, 2025 14:35
Show Gist options
  • Save dontpaniclabsgists/73b4385e7409f564683155faa2a679a3 to your computer and use it in GitHub Desktop.
Save dontpaniclabsgists/73b4385e7409f564683155faa2a679a3 to your computer and use it in GitHub Desktop.
private initialize_Promise = async () => {
this.startTime = new Date().getTime();
await Promise.all([
...Array.from({ length: 3 }, async () => {
var key = 'promiseKey ';
await this.loadWithPromiseLock(key);
this.log(this.promiseDataMap);
})
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment