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
62 stars 1 forks source link

feat!: introduce runWithLock for simplified transactional locking #55

Closed felanios closed 2 months ago

felanios commented 2 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.