Giuliopime
07/11/2023, 5:01 AMJeff Lockhart
07/11/2023, 6:56 AMscope.launch {
delay(x.minutes)
doSomething()
}
Of course this doesn't account for platform restrictions on background work if your app isn't in the foreground and could be killed. That has to be handled in a platform-specific way.