Closed
Description
We should provide factory method fun MainScope() = CoroutineScope(Dispatchers.Main + SupervisorJob())
.
It fixes multiple issues (especially with the #828):
- Integration with UI components are simple both for implementing an interface and having it in a field
- It protects newcomers from
async
behaviour when it is launched from UI component - It simplifies guides and documentation