Skip to content

r.queryHandler(...)

r.queryHandler(...) — registers a read handler: name, Zod input schema, handler closure, plus optional access and rateLimit rules. Read-side counterpart of r.writeHandler with the same header/body split.


From packages/framework/src/engine/feature-ast/patterns.ts -> QueryHandlerPattern