Don't know if this is the right channel, but does ...
# coroutines
j
Don't know if this is the right channel, but does something an async task queue exist where I provide a coroutine scope in which callbacks can be scheduled to be executed sequentially or simultaneously?
c
this could be done with channels, where the channel contains the callbacks (“tasks”); you could configure buffering (or not) for channels), concurrency (how many coroutines) for task execution, error handling strategies, etc.
j
That looks very promising, thank you very much
👍 1
p
Perhaps https://github.com/Pool-Of-Tears/KtScheduler If you have a specific use case you can open an issue or fork
👀 1
z
What you described just sounds like core coroutines functionality, not sure why you’d need to use a channel, let alone a library, for this.
👆 1
c
Can you describe what you're trying to do? It's likely there is a simpler solution