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
์—…๋ฐ์ดํŠธ๋จ 2026. 3. 16.
์Šคํƒ€
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