home/categories/scripting/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-node-js-lock-manager-with-encapsulated-termination-skill-md
scriptingdevelopment

nodejs-lock-manager-with-encapsulated-termination

Develop a Node.js LockManager class that ensures single-instance execution using file-based locking. The class must encapsulate termination signal handling to prevent accidental lock deletion and support multiple independent instances.

ECNU-ICALK
maintainer
ECNU-ICALK
更新于 3/16/2026
星标
304
分支
34
quick start

Installation and usage

Develop a Node.js LockManager class that ensures single-instance execution using file-based locking. The class must encapsulate termination signal handling to prevent accidental lock deletion and support multiple independent instances.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use nodejs-lock-manager-with-encapsulated-termination