Hamza
10/03/2018, 3:28 AMlaunch {
...
}
is this async?
because i want to have some stuff done async, and then after the async, i want to go back to the main thread and call a sync functionspand
10/03/2018, 6:50 AMLaunches new coroutine without blocking current thread and returns a reference to the coroutine as a Job
Hamza
10/03/2018, 8:21 AMspand
10/03/2018, 8:33 AMHamza
10/03/2018, 8:35 AMspand
10/03/2018, 8:45 AMJob.invokeOnCompletion
is the right method for thatHamza
10/03/2018, 8:47 AMuli
10/03/2018, 9:24 AMHamza
10/03/2018, 9:24 AMuli
10/03/2018, 9:35 AMHamza
10/03/2018, 10:08 AMuli
10/03/2018, 10:18 AMHamza
10/03/2018, 10:19 AMuli
10/03/2018, 10:21 AMHamza
10/03/2018, 10:22 AMuli
10/03/2018, 10:37 AM