BaseRequest |
Base class for requests using the request / response pattern. |
BaseResponse |
Base class for responses using the request / response pattern. |
Endpoint |
New base class for creating interface layers. |
Field |
Defines a Field property for a Request or Response object. |
RelationBase |
A base class for relation implementations. |
RequesterEndpoint |
Base class for Endpoints that create requests in the request / response pattern. |
ResponderEndpoint |
Base class for Endpoints that respond to requests in the request / response pattern. |
all_flags_set |
Assert that all desired_flags are set |
any_file_changed |
Check if any of the given files have changed since the last time this was called. |
any_flags_set |
Assert that any of the desired_flags are set |
clear_flag |
Clear / deactivate a flag. |
collect_metrics |
Register the decorated function to run for the collect_metrics hook. |
data_changed |
Check if the given set of data has changed since the previous call. |
endpoint_from_flag |
The object used for interacting with relations tied to a flag, or None. |
endpoint_from_name |
The object used for interacting with the named relations, or None. |
get_flags |
Return a list of all flags which are set. |
get_unset_flags |
Check if any of the provided flags missing and return them if so. |
hook |
Register the decorated function to run when the current hook matches any of the hook_patterns . |
is_data_changed |
Check if the given set of data has changed since the last time data_changed was called. |
is_flag_set |
Assert that a flag is set |
main |
This is the main entry point for the reactive framework. |
meter_status_changed |
Register the decorated function to run when a meter status change has been detected. |
not_unless |
Assert that the decorated function can only be called if the desired_flags are active. |
register_trigger |
Register a trigger to set or clear a flag when a given flag is set. |
scopes |
These are the recommended scope values for relation implementations. |
set_flag |
Set the given flag as active. |
toggle_flag |
Helper that calls either set_flag() or clear_flag() , depending on the value of should_set. |
when |
Alias for when_all() . |
when_all |
Register the decorated function to run when all of desired_flags are active. |
when_any |
Register the decorated function to run when any of desired_flags are active. |
when_file_changed |
Register the decorated function to run when one or more files have changed. |
when_none |
Register the decorated function to run when none of desired_flags are active. |
when_not |
Alias for when_none() . |
when_not_all |
Register the decorated function to run when one or more of the desired_flags are not active. |