Function flood
Source pub fn flood(events: Vec<Event>, pulsetime: Duration) -> Vec<Event>
Expand description
Floods event to the nearest neighbouring event if within the specified pulsetime
Also merges events if they have the same data and are within the pulsetime
§Example
ⓘpulsetime: 1 second (one space)
input: [a] [a] [b][b] [b][c]
output: [a ][b ] [b][c]