Replies: 1 comment
-
Sorry, i could not grasp the question. But arch is following:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have diged into source of the theia and found a question:
core/src/node/backend-application-module.ts
will invoke the
bindFrontendService
to get theFrontService
through theWebSocketChannel
core/src/node/messaging/messaging-contribution.ts
and when the
WebSocketChannel
create, thefrontService
will be binded with the proxy created before bychannelHandlers.route
core/src/node/messaging/connection-container-module.ts
But if the a new
WebSocketChannel
created by opening a new tab in chrome browser with the same the url. It seems like that theserviceFactory.listen
would not make any sence because theservice
created byseviceFactory.createProxy()
not make a deal with the newconnection
in the proxy getter handler.core/src/common/proxy-factory.ts
the
this.connectionPromise.then(connection =>
would keep the first connection .Is this by design or will be optimized in the future?
Beta Was this translation helpful? Give feedback.
All reactions