handlers
Handlers that resolve events inside the program.
- Layer: handlers
- Needs: –
- Requires: –
- Conflicts with: –
- Never dropped: no
- Mixin:
skills.handlers:Handlers - Manifest:
skills/handlers/skill.toml
Functions
Section titled “Functions”def on(event, handler)Register handler(trace) for an event kind. Return True (or None) to resolve it, or False to let it escalate.
What the model reads
Section titled “What the model reads”From the RoboDojo prompt pack (prompts/robodojo/), with every skill and feature on:
on(event, handler) handler(trace) runs when that event ends an execution; return False to escalate, anything else to continue the program.