MCPcopy Create free account
hub / github.com/massCodeIO/massCode / handle

Method handle

src/main/types/index.ts:30–30  ·  view source on GitHub ↗
(
        channel: Channel,
        listener: (event: IpcMainInvokeEvent, payload: T) => Promise<U>,
      )

Source from the content-addressed store, hash-verified

28 interface IpcMain {
29 // eslint-disable-next-line ts/method-signature-style
30 handle<T, U = any>(
31 channel: Channel,
32 listener: (event: IpcMainInvokeEvent, payload: T) => Promise<U>,
33 ): void

Callers 9

index.tsFile · 0.80
registerIPCFunction · 0.80
registerHttpHandlersFunction · 0.80
registerPrettierHandlersFunction · 0.80
registerThemeHandlersFunction · 0.80
registerFsHandlersFunction · 0.80
registerSystemHandlersFunction · 0.80
registerSpacesHandlersFunction · 0.80
registerDialogHandlersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected