lock
逻辑锁工具
Usage
const Lock = require('@geeeger/lock');
const lock = new Lock(3000);
lock.lockIt();
lock.isLocked === true;
lock.reset(2000?);
lock
逻辑锁工具
const Lock = require('@geeeger/lock');
const lock = new Lock(3000);
lock.lockIt();
lock.isLocked === true;
lock.reset(2000?);
npm i @geeeger/lock
0
2.0.7
ISC
1.92 kB
4