Padlock works to prevent unexpected code execution when dealing with asynchronous callbacks without blocking. Call a function with lock to execute it as soon as a lock can be attained, and unlock it at all of your possible callback end-points. Use the same lock on other functions that you don't want to interrupt. Code will execute in order as the lock can be acquired. -- Read More
INSTALL » npm install padlock
CODE » git clone git://github.com/andyet/padlock.git
GITHUB » https://github.com/andyet/padlock
Categories:
Engines:
- node *