Creating Generic RPC Handlers or a Factory for RPC Handlers

Is it possible to make Rpc handlers generic? Or alternatively create a factory that produces Rpc handlers given some parameters?
Was this page helpful?