#from asgiref.sync import async_to_sync ... 當我們啟用了channel layer之后,所有與consumer之間的通信將會變成異步的,所以必須使用async_to_sync.
確定! 回上一頁