went away?). I was looking to build a simple rate limiter using the bounded queue and
Schedule
if anyone has any suggestions for alternatives.
s
simon.vergauwen
09/22/2021, 5:48 AM
Hey @Scott Christopher,
KotlinX offers Channel which has the same functionality as Queue.
There is also a metered function for KotlinX Flow in Arrow Fx.
If you have any questions, I’d be happy to help :)
simon.vergauwen
09/22/2021, 5:48 AM
Use Channel(size) to replace a bounded queue.
s
Scott Christopher
09/22/2021, 6:28 AM
Thanks @simon.vergauwen I’ll check it out, though looks like it should do nicely.