mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 06:29:18 +02:00
6 lines
226 B
Python
6 lines
226 B
Python
from asgiref.sync import async_to_sync
|
|
from channels.layers import get_channel_layer
|
|
|
|
channel_layer = get_channel_layer()
|
|
group_send = async_to_sync(channel_layer.group_send)
|
|
group_add = async_to_sync(channel_layer.group_add)
|