MCPcopy Index your code
hub / github.com/material-shell/material-shell / WithSignals

Class WithSignals

src/utils/gjs.ts:31–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31export class WithSignals {
32 // Note: these will be replaced by the addSignalMethods function
33 // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function, @typescript-eslint/no-explicit-any
34 emit(name: string, ...params: any[]): void {}
35 // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any
36 connect(name: string, callback: (...params: any[]) => void): number {
37 return 0;
38 }
39 // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars
40 disconnect(id: number): void {}
41}
42Signals.addSignalMethods(WithSignals.prototype);

Callers

nothing calls this directly

Implementers 1

MaterialShellExtensionsrc/extension.ts

Calls

no outgoing calls

Tested by

no test coverage detected