Machinery.Transition (machinery v1.1.0) View Source
Machinery module responsible for control transitions, guard functions and callbacks (before and after). This is meant to be for internal use only.
Link to this section Summary
Functions
Function responsible to run all after_transitions callbacks or fallback to a boilerplate behaviour. This is meant to be for internal use only.
Function responsible to run all before_transitions callbacks or fallback to a boilerplate behaviour. This is meant to be for internal use only.
Function responsible for checking if the transition from a state to another was specifically declared. This is meant to be for internal use only.
Default guard transition fallback to make sure all transitions are permitted unless another existing guard condition exists. This is meant to be for internal use only.
Function responsible for triggering transitions persistence. This is meant to be for internal use only.
This function will try to trigger persistence, if declared, to the struct changing state. This is meant to be for internal use only.
Link to this section Functions
Specs
Function responsible to run all after_transitions callbacks or fallback to a boilerplate behaviour. This is meant to be for internal use only.
Specs
Function responsible to run all before_transitions callbacks or fallback to a boilerplate behaviour. This is meant to be for internal use only.
Specs
Function responsible for checking if the transition from a state to another was specifically declared. This is meant to be for internal use only.
Specs
Default guard transition fallback to make sure all transitions are permitted unless another existing guard condition exists. This is meant to be for internal use only.
Specs
Function responsible for triggering transitions persistence. This is meant to be for internal use only.
Specs
This function will try to trigger persistence, if declared, to the struct changing state. This is meant to be for internal use only.