You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added back support for require('await-lock'), which will go away in 2.0.0.
v1.2.0
Migrated from Flow to TypeScript
Removed Flow types. This is technically a breaking change, but I decided that it didn't warrant a new major version. Use ~1.1.3 if you want to use the last version with Flow.
Added tryAcquire, a method to try to acquire the lock immediately without waiting. This method returns true if the lock was acquired and false otherwise.