API Reference
Cinder.onReflex
Subscribe to reflex results emitted by the response layer.
Need the shortest path?
Use Quick Start when you want the smallest working route → scan → graph → run flow first.
Something feels off?
Inspect scan output, graph state, active route/context, and dispatch in a practical order.
Need the full surface?
Browse all runtime methods, hooks, extension points, and lifecycle APIs.
Use onReflex() when you want to observe or augment user-facing response behavior after a command completes.
Example
ts
3 lines
Cinder.onReflex((result) => {
console.log(result.kind, result.message);
});What the handler receives
A CinderReflexResult containing:
okkindmessagespokenintent- optional
dispatch
When to use it
- analytics or logging
- custom UI notifications
- integration tests
- application-side reaction to reflex outcomes
Related pages
Continue reading