Peter
08/11/2026, 2:39 PMdelay() behave, if it's running in the background? Can I rely, that it will be finished after correct delay?Peter
08/11/2026, 2:40 PMval scope = MainScope()
scope.launch {
println("session start")
delay(10.minutes)
println("session expired")
}
When does this finish, if app is in background for like 5 minutes?Chrimaeon
08/11/2026, 2:45 PMPeter
08/11/2026, 3:54 PMChrimaeon
08/11/2026, 4:29 PMChrimaeon
08/11/2026, 4:30 PMPeter
08/11/2026, 4:33 PMShivansh Shyamlan Chaturvedi
08/17/2026, 5:23 PM