dart-archive / isolate

Makes working with Dart isolates easier.
https://pub.dev/packages/isolate
BSD 3-Clause "New" or "Revised" License
90 stars 34 forks source link

Add support ability to run any functions #46

Closed tbm98 closed 3 years ago

tbm98 commented 3 years ago

It will be more helpful if it can run any functions not just top-level or static functions.

Fox32 commented 3 years ago

This is a limitation of the Dart SDK, not of the isolate package. https://github.com/dart-lang/sdk/issues/40370 is tracking that feature request.

lrhn commented 3 years ago

Correct. We can only run what we can send to the other isolate.