https://github.com/bandirom/fastapi-socketio-handler
I created a small library to easily connect SocketIO to FastApi
Feel free to discuss about approach in the lib