You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you, Ali, for your suggestion. We've actually considered this before. If you take a look at getLastUpdateState, you'll see that it retrieves the scope from your context using the retrieveScope(context) function. Our goal was to ensure ease of use, but this could create conflicts with the inner scope that we've drawn from context. Moreover, making getLastUpdateState suspendable could lead to memory leaks if developers mistakenly use the wrong scope.
I'd like to suggest adding a
suspend
version of thegetLastUpdateState()
function.Since Kotlin Coroutines are widely used, having a suspend version would simplify working with the API and make it more Kotlin idiomatic.
The text was updated successfully, but these errors were encountered: