I'm trying isolates and I'm wondering how could I spawn some of them doing heavy computations that, when the root Isolate ask them for their current computing value they respond it, "on demand".
As far as I know, the only object that can be used as message for the newly created isolates is SendPort, meaning that only the spawned isolate can communicate with the root one. I tried sending a < SendPort,ReceivePort> tuple, but as ReceivePort isn't a SendPort, it's considered as illegal.
In a nutshell:
root <-- isolate good
root <-> isolate how to?