azeDevs
04/09/2019, 7:43 PMfun startUiLoop() {
GlobalScope.launch {
delay(32L)
updateUi()
}
}
azeDevs
04/09/2019, 7:45 PMDominaezzz
04/09/2019, 7:51 PMdelay
works on native atm.serebit
04/09/2019, 9:05 PMnapperley
04/09/2019, 11:26 PMazeDevs
04/09/2019, 11:49 PMupdateUi()
call startUiLoop()
and create a new coroutine every time? Also it's not even running once, debugging Cinterop has been a struggle.olonho
04/10/2019, 6:28 AMsleep
is blocking sleep and is not compatible with coroutines, ask on #coroutines