zomarsZ
tRPC3y ago
12 replies
zomars

Is there a way to extract a procedure signature?

I'm looking into extracting certain handlers into functions to keep certain procedures more manageable. Is there a way to define a function that expects the same signature as a procedure?

Here's an example of what I'm trying to achieve.
image.png
Was this page helpful?