Consider the following two event streams. Every event has a timestamp/ts and value property.
I want to combine these two streams where the events have the same timestamps, into a resulting stream with an applied transformation of the value. If one stream is missing one timestamp (such as the yellow ts=3
in the example below), that timestamp should be disregarded.
Would like to solve the problem using a reactive programming library such as xstream or rxjs. I'm quite new to the concepts of reactive programming, but if someone has another suggestion I'm all ears. Thanks!
join
operator – Continuallyjoin
function is pretty badly documented, but if you don't get any answer I can have a closer look. – Continually