Worker 进程能否给自定义进程发送消息 #5059
Answered
by
NathanFreeman
liuende501
asked this question in
Q&A
-
通过 addProcess 添加自定义进程后, 自定义进程的父进程是 Manager, 在另一个 worker 进程中能否发送消息给自定义消息 |
Beta Was this translation helpful? Give feedback.
Answered by
NathanFreeman
May 22, 2023
Replies: 1 comment 2 replies
-
可以,详细看这里 https://wiki.swoole.com/#/server/methods?id=addprocess |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
leocavalcante
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以,详细看这里 https://wiki.swoole.com/#/server/methods?id=addprocess
主要是worker使用Swoole\Process的方法与自定义进程通信。