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

Method constructor

tabby-web-demo/src/index.ts:33–39  ·  view source on GitHub ↗
(
        app: AppService,
    )

Source from the content-addressed store, hash-verified

31// eslint-disable-next-line @typescript-eslint/no-extraneous-class
32export default class DemoTerminalModule {
33 constructor (
34 app: AppService,
35 ) {
36 app.ready$.subscribe(() => {
37 app.openNewTab({ type: DemoTerminalTabComponent })
38 })
39 }
40}

Callers

nothing calls this directly

Calls 2

openNewTabMethod · 0.80
subscribeMethod · 0.45

Tested by

no test coverage detected