Wait for server start in ./application/domain/remote #113
Unanswered
georgolden
asked this question in
Q&A
Replies: 2 comments 1 reply
-
And another question. I can access socket from metacom in Example application. Can I use it to create Pub-Sub service to send data between different clients? If there is better way to implement Pub-Sub service, please let me know. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I removed this wait for timeout (that's just old and outdated hack), and moved this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking at Metarhia Example and have a few questions about how it works. In
./application/domain/remote/start.js
there is timer hardcoded, that wait for server to start and then you mix in domain object metacom and then you operate with socket form metacom. For which tasks is responsible thatstart.js
file? And why you are using hardcoded timeout and metacom in domain instart.js
?Beta Was this translation helpful? Give feedback.
All reactions