from asgiref.sync import async_to_sync from ... 了channel layer之後,所有與consumer之間的通訊將會變成非同步的,所以必須使用 async_to_sync.
確定! 回上一頁