File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/api-samples/src/electron-main/update Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717import { ContainerModule } from '@theia/core/shared/inversify' ;
1818import { RpcConnectionHandler } from '@theia/core/lib/common/messaging/proxy-factory' ;
1919import { ElectronMainApplicationContribution } from '@theia/core/lib/electron-main/electron-main-application' ;
20+ import { ElectronConnectionHandler } from '@theia/core/lib/electron-main/messaging/electron-connection-handler' ;
2021import { SampleUpdaterPath , SampleUpdater , SampleUpdaterClient } from '../../common/updater/sample-updater' ;
2122import { SampleUpdaterImpl } from './sample-updater-impl' ;
22- import { ConnectionHandler } from '@theia/core' ;
2323
2424export default new ContainerModule ( bind => {
2525 bind ( SampleUpdaterImpl ) . toSelf ( ) . inSingletonScope ( ) ;
2626 bind ( SampleUpdater ) . toService ( SampleUpdaterImpl ) ;
2727 bind ( ElectronMainApplicationContribution ) . toService ( SampleUpdater ) ;
28- bind ( ConnectionHandler ) . toDynamicValue ( context =>
28+ bind ( ElectronConnectionHandler ) . toDynamicValue ( context =>
2929 new RpcConnectionHandler < SampleUpdaterClient > ( SampleUpdaterPath , client => {
3030 const server = context . container . get < SampleUpdater > ( SampleUpdater ) ;
3131 server . setClient ( client ) ;
You can’t perform that action at this time.
0 commit comments