Assigned
Status Update
Comments
za...@google.com <za...@google.com>
wv...@google.com <wv...@google.com> #2
Hello,
I'm only a little familiar with Power Apps. Is your app a mobile app or a web app?
This link
The primary
If your app does not work on Android mobile devices, you can also consider the
Description
Relevant text: "These methods can be called from any part of your application. Because they are suspend functions, we recommend launching them outside of the main thread scope."
When designing coroutine functions, generally they should be designed to be main-safe rather than pushing this responsibility to the caller. The widget functions are already suspendible, so what makes them not recommended to call from the main thread? This design is inconsistent with other components.
As an example, Room is main-safe when using suspendible functions.