I wrote a small example on how to spawn isolates at http://www.roberthartung.de/spawning-isolates-in-dart/ . Does this help you?
how to spawn a new Isolate in dart?
-
10-07-2023 - |
Frage
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?
Lösung
Andere Tipps
At the bottom of the page you linked is this link dart:isolate library
I think this isolates are still work in progress.
I think some interesting details can be found in the discussions in the Google group Dart Misc or Dart Web Development and in the issues at dartbug.com
Where do you want to spawn isolates anyway, server or client?