nars
nars copied to clipboard
Use one connection if connecting to the same host
createRemoteComponent API allows passing a string as the WebSocket arg. In this case we create a WebSocket which is local to a component instance. Because of that there are as many websockets alive as RemoteComponents on the screen. nars server expects one connection per client.