Fix wrong reference to AsyncConsumer in Introduction#1750
Fix wrong reference to AsyncConsumer in Introduction#1750DanielSwain wants to merge 1 commit intodjango:mainfrom
Conversation
Change AsyncConsumer to AsyncWebsocketConsumer
carltongibson
left a comment
There was a problem hiding this comment.
Hi @DanielSwain.
Is this right? Subclassing AsyncWebsocketConsumer you'd implement receive() rather than override the websocket_connect() and websocket_receive() methods, which are implemented for you, and are the benefit of using the generic consumer... 🤔
|
@carltongibson Perhaps. I only traced the |
Change AsyncConsumer to AsyncWebsocketConsumer