How do you receive group messages outside of consumer?

34 views
Skip to first unread message

hasan Infogeek

unread,
Jun 8, 2018, 1:34:58 PM6/8/18
to Django users
Right now my application relies on async_to_sync(channel_layer.group_send) to send messages to the group
but I can't find a channel_layer.group_receive or equivalent function.

I can write a websocket client that connect to the group that will receive the messages but it would be better if i could use channel_layer to reduce complexity and increase reliability.
Reply all
Reply to author
Forward
0 new messages