MCPcopy Create free account
hub / github.com/Web3Auth/Auth / processNotification

Function processNotification

src/jrpc/jrpc.ts:102–104  ·  view source on GitHub ↗
(res: JRPCNotification<JRPCParams>)

Source from the content-addressed store, hash-verified

100 }
101
102 function processNotification(res: JRPCNotification<JRPCParams>) {
103 events.emit("notification", res);
104 }
105
106 function processMessage(res: JRPCResponse<unknown>, _encoding: unknown, cb: (error?: Error | null) => void) {
107 let err: Error;

Callers 1

processMessageFunction · 0.85

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected