Send a WebSocket group message synchronously via Redis (channels_redis wire format).
(group_name, event_type, data)
| 468 | |
| 469 | |
| 470 | def send_websocket_update_sync(group_name, event_type, data): |
| 471 | """Send a WebSocket group message synchronously via Redis (channels_redis wire format).""" |
| 472 | message = {'type': event_type, 'data': data} |
| 473 | _gevent_ws_send(group_name, message) |
| 474 | |
| 475 | |
| 476 | def send_websocket_update(group_name, event_type, data, collect_garbage=False): |
nothing calls this directly
no test coverage detected