y-socket.io
y-socket.io copied to clipboard
Is there a way to create a document on the server via API instead of through a socket call?
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?