supabase / postgrest-dart

Dart client for PostgREST
https://supabase.com
MIT License
136 stars 38 forks source link

feat: isolates for heavy computation #76

Closed Vinzent03 closed 2 years ago

Vinzent03 commented 2 years ago

I copied the compute function from flutter foundation and removed useless code.

Shall we close the following issues, or wait unitl the other packages use isolates too? Is that even necessary? supabase-community/supabase-flutter/issues/150 supabase-community/supabase-flutter/issues/77

bdlukaa commented 2 years ago

Decode should be taken into consideration

Vinzent03 commented 2 years ago

Thanks for quick check. I know, but I'm still in testing, because I need the docker image here on GitHub actions. In addition, I don't get the analyzer warning locally.

bdlukaa commented 2 years ago

In addition, I don't get the analyzer warning locally.

Try to restart your IDE

Vinzent03 commented 2 years ago

Already tried that 😉. I even checked via raw dart analyze. Fixed it now by upgrading dart to 2.18 via beta channel.