* Derive the handler method name from the full RPC method name. * e.g., "sessionFs.readFile" → "readFile"
(rpcMethod: string)
| 833 | * e.g., "sessionFs.readFile" → "readFile" |
| 834 | */ |
| 835 | function handlerMethodName(rpcMethod: string): string { |
| 836 | const parts = rpcMethod.split("."); |
| 837 | return parts[parts.length - 1]; |
| 838 | } |
| 839 | |
| 840 | /** |
| 841 | * Generate handler interfaces and a registration function for client session API groups. |
no outgoing calls
no test coverage detected
searching dependent graphs…