Animesh Sahu
08/07/2019, 3:35 AMgildor
08/07/2019, 3:39 AMdon’t get it which function can be used in suspend to actually suspend itAny asynchronous function with coroutine adapter
For example if i call any api or something it will definitely block the coroutine rightNo, if this API is Asyncronous (it just use callbacks/promises/features/etc)
So how should i use coroutine there so i can do something till the response is recieved from the serverDepends on what kind API you use for this now
Animesh Sahu
08/07/2019, 3:56 AMgildor
08/07/2019, 3:59 AMAnimesh Sahu
08/07/2019, 4:06 AMgildor
08/07/2019, 4:22 AMgildor
08/07/2019, 4:22 AMuli
08/07/2019, 5:09 AMSiebelsTim
08/07/2019, 6:24 AMuli
08/07/2019, 6:35 AMuli
08/07/2019, 6:37 AM