Monday, August 28, 2017

Setting up a "update" async with channels

Hi,
I want to use django-channels to show progress report of a background process (percentage & time remaining) this is returned as a string. 

My desired process flow would be:
  1. User connects with sockets
  2. process is started
  3. continous feedback is sent back to specific user every "x" seconds
  4. final feedback with result sent and closes connection
I've gotten through setting up channels and the starting tutorial, if you can give me an example on this will be appreciated.

--
Best Regards,
Samuel Muiruri.
Web Designer | +254 738 940064

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJZFZXptZ4HKZOjrS_K2zDp0xoPJRXuSpFdzBvC41hQdU9%3DS0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment