3 ms·
It's not stateless. The state is in current_state. ¯\_(ツ)_/¯ Edit: To answer your two questions: 1) No, it's not stateless. 2) Depending on the implementat
by dossy 4y ago
It's not stateless. The state is in current_state. ¯\_(ツ)_/¯
Edit: To answer your two questions:
1) No, it's not stateless.
2) Depending on the implementation of the function, yes, it may be a valid state machine. Or, it may not be. Depends on the implementation of the state machine within the function.