I was wondering how I can manage a state, which gets accessed by several asynchronous events, like click handler, timeouts, etc.
If I understand it right, then in the