@geeeger/lock
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

lock

逻辑锁工具

Usage

const Lock = require('@geeeger/lock');

const lock = new Lock(3000);

lock.lockIt();

lock.isLocked === true;

lock.reset(2000?);

Readme

Keywords

Package Sidebar

Install

npm i @geeeger/lock

Weekly Downloads

0

Version

2.0.7

License

ISC

Unpacked Size

1.92 kB

Total Files

4

Last publish

Collaborators

  • geeeger