felanios / murlock

MurLock: A distributed locking solution for NestJS, providing a decorator for critical sections with Redis-based synchronization. Ideal for microservices and scalable applications.
https://www.npmjs.com/package/murlock
MIT License
73 stars 3 forks source link

feat!: introduce runWithLock for simplified transactional locking #55

Closed felanios closed 5 months ago

felanios commented 5 months ago

BREAKING CHANGE: Replaces direct lock and unlock methods with runWithLock. This change necessitates updates in existing implementations to adapt to the new lock management method.