File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const E_LOCK_STORAGE_ERROR = createError<[{ message: string }]>(
2525)
2626
2727/**
28- * Thrown when the lock is already acquired by someone else
28+ * Thrown when user tries to acquire a lock that is already acquired by someone else
2929 */
3030export const E_LOCK_ALREADY_ACQUIRED = createError (
3131 'Lock is already acquired' ,
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { LockFactory } from './lock_factory.js'
44import type { Duration , SerializedLock , StoreFactory } from './types/main.js'
55
66/**
7- * Verrou is the main class of the library. It is used to create locks
8- * and to access the underlying stores.
7+ * Verrou provides a lock management for multiple stores.
8+ * It allows accessing and manipulating locks in different stores
99 */
1010export class Verrou < KnownStores extends Record < string , StoreFactory > > {
1111 /**
You can’t perform that action at this time.
0 commit comments