how to spawn a new Isolate in dart?

Issue

Is something going on wth Dart isolates at present? looking at a few past stackoverflow questions most people looked to be using spawnIsolate or spawnFunction to start a new isolate running, but those methods don’t appear to exist any more, nor is there an obvious replacement for them in the current isolate library. Also when following links people have put in previous stackoverflow questions about isolates they seem to have been removed from the official documentation such as. How do you start up an isolate?

Solution

I wrote a small example on how to spawn isolates at http://www.roberthartung.de/spawning-isolates-in-dart/ . Does this help you?

Answered By – Robert

Answer Checked By – Terry (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.