[][src]Function aw_transform::heartbeat

pub fn heartbeat(
    last_event: &Event,
    heartbeat: &Event,
    pulsetime: f64
) -> Option<Event>

Returns a merged event if two events have the same data and are within the pulsetime

Example

This example is not tested
pulsetime: 1 second (one space)
input:  [a] [a]  [a][b]
output: [a    ]  [a][b]