trevorwang / retrofit.dart

retrofit.dart is an dio client generator using source_gen and inspired by Chopper and Retrofit.
https://mings.in/retrofit.dart/
MIT License
1.06k stars 241 forks source link

Support non-flutter isolate compute #685

Open TekExplorer opened 3 weeks ago

TekExplorer commented 3 weeks ago

Currently, isolate compute is supported only for flutter. However, if I wanted to make my API client generic for dart use in its own package, I don't get the benefits of isolates.

Support using Isolate.run to compute serialization