tRPCttRPC
Powered by
zomarsZ
tRPC•3y 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
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Is there a way to pass parameters to procedure on call?
StivoSStivo / ❓-help
2y ago
is there a way to send a streaming response
DerockDDerock / ❓-help
3y ago
is there a better way to do this?
SansPapyrus683SSansPapyrus683 / ❓-help
2y ago