altv-child-process

时间:2021-05-09 12:59:12
【文件属性】:
文件名称:altv-child-process
文件大小:23KB
文件格式:ZIP
更新时间:2021-05-09 12:59:12
JavaScript 子进程ipc /!\ require nodejs v14 (if you use docker make sure docker have the right version for node) /!\ actually the path in index is './child/child.js' but on alt:v this relative path not work change the path if you need to use in alt 目录 1. 2. 3. 在里面 1)init子进程 import Fork from './class/Fork.js' const childProcess = new Fork ( "./resources/redside/server/fork/child/child.js" ) //path start in fo
【文件预览】:
altv-child-process-master
----class()
--------Ipc.js(1KB)
--------Fork.js(1KB)
--------EventManager.js(1KB)
----.eslintrc(446B)
----child()
--------child.js(403B)
----.gitignore(12B)
----index.js(951B)
----readme.md(2KB)
----package-lock.json(65KB)
----package.json(528B)

网友评论