(port string, _ Transition)
| 150 | |
| 151 | func (b *ToolNode) ID() string { return b.id } |
| 152 | func (b *ToolNode) AddTransition(port string, _ Transition) error { |
| 153 | return fmt.Errorf("node %s: tool nodes cannot accept state transitions (port %q)", b.id, port) |
| 154 | } |
| 155 | |
| 156 | // TriggerNode is the common embed for every trigger. A trigger has exactly one |
| 157 | // outgoing transition; it carries the full Transition (like LinearNode/BranchingNode) |