igorvd
05/28/2018, 5:52 PMigorvd
05/28/2018, 7:17 PMuseCases
(or interactors), but I'm not sure what to use. I was thinking about using my custom pool, but I'm not sure how many threads it would have.
Maybe I can use yours IO dispatcher, and if my usecases do any cpu bound operations, switch to another context. What do you think about that?
Thanks in advance.louiscad
05/28/2018, 7:25 PMioDispatcher
, and use CommonPool
for CPU bound operations, unless it's not worth switching dispatcher for a short operation in a coroutine already running on a background thread.igorvd
05/28/2018, 7:29 PM>> unless it's not worth switching
igorvd
05/28/2018, 7:29 PMigorvd
05/28/2018, 7:30 PMlouiscad
05/29/2018, 12:53 PMigorvd
05/29/2018, 2:23 PM