<div dir="ltr">Let's say I have two independent streams of different events: EventA and EventB. Which is the best way to get all the occurrences of EventB that happened between the last 3 occurrences of EventA?<div><br>
</div><div style>For example:</div><div style><br></div><div style>from: $b1:EventB, $a1:EventA, $b2:EventB, $b3:EventB, $a2:EventA, $b4:EventB, $b5:EventB, $a3:EventA, $b6:EventB</div><div style><br></div><div style>I would like to get $b2, $b3, $b4, $b5</div>
<div style><br></div><div style>Best Regards,</div><div style><br></div><div style><br></div><div> <br clear="all"><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a></div>
</div></div>