Sent messages in loop with Django Channels

107 views
Skip to first unread message

Александр Великий

unread,
Jul 30, 2017, 7:55:37 AM7/30/17
to Django developers (Contributions to Django itself)
Hi,

I'm trying to find the way to do the following thing:

When I get websocket message from client, I want to send to this client the data every second. What is the best way to do this?
I think having consumer that will make send calls in loop is blocking approach.

Also I'd like to have the way to stop the loop with another client websocket call.

Artem Malyshev

unread,
Jul 30, 2017, 10:46:22 AM7/30/17
to Django developers (Contributions to Django itself)
This question was answered in the Channels issue tracker: https://github.com/django/channels/issues/713
Reply all
Reply to author
Forward
0 new messages