backbone
backbone2y ago

how to integrate with Redis (ioredis)

Any middleware?
2 Replies
NEO
NEO2y ago
Middlewares | tRPC
You are able to add middleware(s) to a procedure with the t.procedure.use() method. The middleware(s) will wrap the invocation of the procedure and must pass through its return value.
backbone
backbone2y ago
Thanks trpc