Issue
Flutter‘s compute allows to execute a callback inside a separate isolate and return a result.
Is there a similar function to open and keep a bidi channel that allows to send and receive messages between two isolates?
Solution
Indeed as comments by @pskink, the correct answer was to use Isolate.spawn
and then an IsolateChannel
to establish the BiDi-communication.
Answered By – user3612643
Answer Checked By – Jay B. (FlutterFixes Admin)