SimpleAction
dendron.actions.simple_action.SimpleAction
Bases: ActionNode
A simple action node is initialized with a callback that is
called every time this node tick()
s. The callback should
be a function that that returns a NodeStatus
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name |
`str`
|
The given name of this node. |
required |
callback |
`Callable`
|
The callback to be executed upon every |
required |