1 min readFeb 26, 2019
It’s all oversimplified to make it easier to understand 😉
About communication between threads, in other programming like Go you would have an implementation called Channel which is used for cross-thread communication (called go routines there).
But here you can use a simple solution by using the parent as a Proxy:
thread 1 -> parent -> thread 2