Programming, beginner
What I'll do for the first three hours of the day, is have coffee and do this practice.
https://pastebin.com/raw/59Uqyz0h
This is the control, it's a sequence of timed events with one indefinite loop and one conditional branch.
I'll have to do some async version in Java, and then a promise-based version in JavaScript, then maybe an alternative for either. I'm thinking wrapping the blocking-wait engine inside one future/promise so that I can simply wait for the whole thing to finish before "unlocking the UI"