Public Member Functions | |
| def | __attrs_post_init__ |
| def | context |
| Get context from the running Sequence. More... | |
| def | __call__ |
| def | __attrs_post_init__ |
| def | context |
| Get context from the running Sequence. More... | |
| def | __call__ |
Public Attributes | |
| name | |
| id | |
| state | |
| t_start | |
| t_end | |
| result | |
| in_error | |
| exception | |
Static Public Attributes | |
| tuple | f = attr.ib(default=None, repr=False) |
Action ctor.
Action nodes executes coroutines in a Sequencer script.
| f | The coroutine the node will execute |
| id | Unique id. If not provided an unique identifier is assigned. |
| name | Node name. If not provided a name is assigned. |
| TypeException | is f is not a coroutine. |
| def seqlib.nodes.action.Action.__attrs_post_init__ | ( | self | ) |
| def seqlib.nodes.action.Action.__attrs_post_init__ | ( | self | ) |
| def seqlib.nodes.action.Action.__call__ | ( | self, | |
resume = False |
|||
| ) |
Executes node action. If the action is a coroutine a task is created and passed to the asyncio loop for execution.
| def seqlib.nodes.action.Action.__call__ | ( | self, | |
resume = False |
|||
| ) |
Executes node action. If the action is a coroutine a task is created and passed to the asyncio loop for execution.
| def seqlib.nodes.action.Action.context | ( | self | ) |
Get context from the running Sequence.
| def seqlib.nodes.action.Action.context | ( | self | ) |
Get context from the running Sequence.
| seqlib.nodes.action.Action.exception |
|
static |
| seqlib.nodes.action.Action.id |
| seqlib.nodes.action.Action.in_error |
| seqlib.nodes.action.Action.name |
| seqlib.nodes.action.Action.result |
| seqlib.nodes.action.Action.state |
| seqlib.nodes.action.Action.t_end |
| seqlib.nodes.action.Action.t_start |
1.8.5