How and where do you create socket, join channel and process message? #29
Unanswered
freewebwithme
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
This is not an issue. Sorry for this.
But There is no place to ask about.
I wonder if you guys where you connect socket? and joining channel and where to process incoming message from channel?
In my case, for cart channel, I created it when user log in and register as singleton using GetIt package.
So I can get cart channel anywhere where I want it like
getIt<PhoenixChannel>();
But in case of order channel, I need to join multiple channel in case of user orders multiple order.
in this case, how do you handle this? joinning multiple channel, and get stream message from those.
Beta Was this translation helpful? Give feedback.
All reactions