Sliding Window implementation
leifg opened this issue · 2 comments
leifg commented
It seems like in the test there is use of a sliding window already.
Would be really cool to have an implementation of that in flow directly.
Flow.Window.sliding(count: 2, overlap: 1)
I'd be happy to implement it if there is need.
josevalim commented
Yes, please. We should probably call it SlidingEventWindow though as it slides on events and not on time.
leifg commented
OK great, I will get to it.
Name will be?
Flow.Window.sliding_event(2, 1)