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
constlocker=require('promise-locker')constlock=locker()constunlockA=lock('a')// call unlockA() when done// somewhere elseconstunlockA=lock('a')// will wait for previous unlock call