MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / registerForUnhandledMessages

Method registerForUnhandledMessages

src/debug/run_daemon.ts:32–34  ·  view source on GitHub ↗
(subscriber: (notification: string) => void)

Source from the content-addressed store, hash-verified

30
31 private unhandledMessageSubscriptions: Array<(notification: string) => void> = [];
32 public registerForUnhandledMessages(subscriber: (notification: string) => void): IAmDisposable {
33 return this.subscribe(this.unhandledMessageSubscriptions, subscriber);
34 }
35
36 protected async handleRequest(method: string, params: any): Promise<any> {
37 switch (method) {

Callers 1

spawnProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected