is it possible to create a limiting dispatcher wit...
# coroutines
v
is it possible to create a limiting dispatcher within an existing dispatcher? I'm trying to figure out a way to have say, max(5) threads of Dispatchers.IO as another dispatcher, which I can use in a standalone manner (one way would be
launch
and listen on a channel? with the launch being on the dispatcher?)
o
you might be better served by using a
Semaphore
instead of limiting threads
☝️ 4
🤔 1