Need to wait after both EventHandler trigger then continue to the next operation,
The code is as follows:
AeventAsObservable.Com bineLatest (BeventAsObservable, (LHS and RHS)=& gt; New {x=LHS, y=RHS})
The Where (p=& gt; P.Y.I tem1 Count!=0)
The Subscribe (p=& gt;
{
});
CombineLatest is that taking the last two data to trigger, but as is the timeliness of data,
BeventAsObservable data flows to fast, but not necessarily AeventAsObservable,
I hope trigger CombineLatest, two data flow time not more than 1 second, in order to ensure to get the data is correct, would like to ask how to do? Thank you,
(assuming that A data flow and data flow information B vary more than 1 second, then don't do the callback)