Closed ivirtex closed 1 year ago
Isn't it possible to run the required methods inside compute()
from flutter's foundation library.
I don't think so, it is possible when working with futures, but not streams.
Maybe we can close the issue now, @ivirtex can you test it ?
Yeah, great job!
Since
HostScanner.discover
runs on the main thread, the whole UI freezes until host discovery finishes. This means more work for the developers und unnecessary confusion. Putting the whole process inside an isolate would unblock app interaction.