Skip to content

r.writeHandler(...)

r.writeHandler(...) — registers a command handler: name, Zod input schema, handler closure, plus optional access and rateLimit rules. The header is declarative; schema and body stay opaque source spans.


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