|
__init__(self,
cb,
cb_args=[],
cb_kwargs={},
outcomes=[],
input_keys=[],
output_keys=[],
io_keys=[])
Create s state from a single function. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
get_registered_input_keys(self)
Get a tuple of registered input keys. |
source code
|
|
tuple of string
|
|
|
get_registered_output_keys(self)
Get a tuple of registered output keys. |
source code
|
|
|
preempt_requested(self)
True if a preempt has been requested. |
source code
|
|
|
recall_preempt(self)
Sets preempt_requested to False |
source code
|
|
|
|
|
|
|
register_outcomes(self,
new_outcomes)
Add outcomes to the outcome set. |
source code
|
|
|
|
|
request_preempt(self)
Sets preempt_requested to True |
source code
|
|
|
service_preempt(self)
Sets preempt_requested to False |
source code
|
|