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.
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