Skip to content

Commit

Permalink
FlowOps: debounceBy operator
Browse files Browse the repository at this point in the history
  • Loading branch information
corem committed Dec 16, 2024
1 parent 3c719b5 commit 0a65538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/ox/flow/FlowOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class FlowOps[+T]:
/** Remove subsequent, repeating elements
*/
def debounce: Flow[T] =
debounceBy(T => T)
debounceBy(identity)

/** Remove subsequent, repeating elements matching 'f'
*
Expand Down

0 comments on commit 0a65538

Please sign in to comment.