You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently try to work out a concept to shutdown and restart a sc-broker based system. I got the impression that I misunderstood either server.destroy() or client.on("exit", ...). Here is a minimal example:
If I start $ node server.js followed by $ node client.js I would expect that a published shutdown event triggers the client exit event. However, I only get the message "server shutdown". The client process ends without"client exit".
Do you have some remarks on that. Thank you in advance
--Thomas
The text was updated successfully, but these errors were encountered:
Hi Jonathan,
I'm currently try to work out a concept to shutdown and restart a sc-broker based system. I got the impression that I misunderstood either
server.destroy()
orclient.on("exit", ...)
. Here is a minimal example:server.js:
client.js
If I start
$ node server.js
followed by$ node client.js
I would expect that a publishedshutdown
event triggers the clientexit
event. However, I only get the message"server shutdown"
. The client process ends without"client exit"
.Do you have some remarks on that. Thank you in advance
--Thomas
The text was updated successfully, but these errors were encountered: