#!/usr/bin/env python3
"""
WebSocket routes for processing data streaming.
"""

from fastapi import APIRouter, WebSocket
import vna_system.core.singletons as singletons

router = APIRouter()


@router.websocket("/ws/processing")
async def processing_websocket_endpoint(websocket: WebSocket):
    """WebSocket endpoint for real-time processing data streaming."""
    await singletons.processor_websocket_handler.handle_websocket_connection(websocket)