PK
Shreyas Patil Some Random Dude U can do that but if you are calling suspend functions from retrofit or room(Which internally usages their own threapool ) , you will end up calling all methods , bcz your dispatcher will get free as soon as Retrofit or room suspend your function. So both have diff usecase.Correct me if my understanding is wrong.
ReplyArticleOct 25, 2022Leveraging the Semaphore concept in Coroutines to limit the parallelism ๐