Creates and registers an RPC handler with a specific tag.
Unique identifier for the RPC handler
The RPC group/router to register
The same RPC group that was passed in
Consider using createHandlerRegistry() for better type safety without module augmentation.
const helloHandler = createHandler('flamingo', helloRouter); Copy
const helloHandler = createHandler('flamingo', helloRouter);
Creates and registers an RPC handler with a specific tag.