Relative Content

Tag Archive for kotlinkotlin-flow

How can I limit a flow to a certain frequency window?

I have a wrapped an external optimization library in a callbackFlow in my quarkus-kotlin backend. Now I want to push updates to my frontend, but since updates from this library arrive quite frequently (at least during the first processing steps), it makes sense to limit the update frequency to save bandwidth.