mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-15 00:35:47 -07:00
25 lines
865 B
Python
25 lines
865 B
Python
# ======================================================
|
|
# Data\Engine\services\WebSocket\__init__.py
|
|
# Description: Placeholder hook for registering Engine Socket.IO namespaces.
|
|
#
|
|
# API Endpoints (if applicable): None
|
|
# ======================================================
|
|
|
|
"""WebSocket service stubs for the Borealis Engine runtime.
|
|
|
|
Future stages will move Socket.IO namespaces and event handlers here. Stage 1
|
|
only keeps a placeholder so the Engine bootstrapper can stub registration
|
|
without touching legacy behaviour.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
from flask_socketio import SocketIO
|
|
|
|
from ...server import EngineContext
|
|
|
|
|
|
def register_realtime(socket_server: SocketIO, context: EngineContext) -> None:
|
|
"""Placeholder hook for Socket.IO namespace registration."""
|
|
|
|
context.logger.debug("Engine WebSocket services are not yet implemented.")
|