Thanks for sharing this but using this example no longer works today. Was hoping to learn about background task using your example but I receive a RuntimeError: no running event loop with the runworker command. I am using Django 3.2.5 and Channels 3.0.3.
Thanks for sharing this but using this example no longer works today. Was hoping to learn about background task using your example but I receive a
RuntimeError: no running event loop
with therunworker
command. I am using Django 3.2.5 and Channels 3.0.3.