UnifiedPush / flutter-connector

Mirror of https://codeberg.org/UnifiedPush/flutter-connector
Apache License 2.0
31 stars 11 forks source link

Add option for single-isolate #4

Closed karmanyaahm closed 3 years ago

karmanyaahm commented 3 years ago

Add an option to not spawn a new isolate on every new message, but instead re-use the existing main isolate

I think fixing this would also fix #3. I'll try to get it working.

(original: https://github.com/karmanyaahm/flutter_unified_push/issues/6)

p1gp1g commented 3 years ago

It should be fixed now. It uses the main isolate until the app is destroyed and then goes to a new callback isolate