1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

feat(monorepo): migrate vue packages and apply oxlint refactors

This commit is contained in:
2026-03-07 18:07:22 +07:00
parent abd6605db3
commit 41d5e18f6b
286 changed files with 10295 additions and 5028 deletions

View File

@@ -2,19 +2,19 @@
* @name SyncMutex
* @category Utils
* @description A simple synchronous mutex to provide more readable locking and unlocking of code blocks
*
*
* @example
* const mutex = new SyncMutex();
*
*
* mutex.lock();
*
* mutex.unlock();
*
*
* const result = await mutex.execute(() => {
* // do something
* return Promise.resolve('done');
* return Promise.resolve('done');
* });
*
*
* @since 0.0.5
*/
export class SyncMutex {