SetStep records the step the flow is entering.
(step Step)
| 102 | |
| 103 | // SetStep records the step the flow is entering. |
| 104 | func (f *FlowTracker) SetStep(step Step) { |
| 105 | if f == nil { |
| 106 | return |
| 107 | } |
| 108 | f.step = step |
| 109 | } |
| 110 | |
| 111 | // Step returns the step the flow is currently in. |
| 112 | func (f *FlowTracker) Step() Step { |
no outgoing calls