Skip to content

Instantly share code, notes, and snippets.

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