MCPcopy
hub / github.com/Eugeny/tabby / constructor

Method constructor

tabby-electron/src/services/dockMenu.service.ts:10–19  ·  view source on GitHub ↗
(
        private configService: ConfigService,
        private electron: ElectronService,
        private hostApp: HostAppService,
        private zone: NgZone,
        private profilesService: ProfilesService,
        private translate: TranslateService,
    )

Source from the content-addressed store, hash-verified

8 appVersion: string
9
10 private constructor (
11 private configService: ConfigService,
12 private electron: ElectronService,
13 private hostApp: HostAppService,
14 private zone: NgZone,
15 private profilesService: ProfilesService,
16 private translate: TranslateService,
17 ) {
18 this.configService.changed$.subscribe(() => this.update())
19 }
20
21 async update (): Promise<void> {
22 let profiles = await this.profilesService.getProfiles()

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
subscribeMethod · 0.45

Tested by

no test coverage detected