There are use cases where the server is the master of the documents. Is there a better way to have documents created by the server than opening a socket to self, i.e., running a client on the server?
y-websocket has getYDoc() to create new documents on the server.
Couldn't y-socket.io somehow export initDocument() as well?