-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed💪🏽O(n)Difficulty of problem - NormalDifficulty of problem - Normal
Milestone
Description
In our android example, we have edge cases. When you call .stopCapturing() several times with a new thread it may get unpredictable results and will compute endlessly. We need some data throttling, primarily for .stopCapturing()
https://github.com/dmi3coder/behaiv-android/blob/master/example_kotlin/src/main/java/de/dmi3y/behaiv/example/tasks/TasksFragment.kt#L66
So, we need to add additional param to Behaiv.Builder called .setThrottle(long amount) And use this param to wait for a specific amount of data to arrive before doing any computations.
Metadata
Metadata
Assignees
Labels
Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed💪🏽O(n)Difficulty of problem - NormalDifficulty of problem - Normal