@elizarov If your up for it, I'd be really interested to see you re-implement what mike did here:
https://www.youtube.com/watch?v=AhA-Q7MOre0&t=2016▾
with coroutines. Would coroutines make things any easier? I feel like your swapping streams with convienience methods for manually managing
jobs
, though I feel also like a library (or maybe some extensions to the
kotlinx.coroutines.javafx
lib?) could ease this enormously