예제 #1
0
 public void OnNext(T value)
 {
     lock (parent.gate) {
         parent.values[index] = value;
         parent.Publish(index);
     }
 }
예제 #2
0
 public void OnNext(TRight value)
 {
     lock (parent.gate) {
         parent.rightStarted = true;
         parent.rightValue   = value;
         parent.Publish();
     }
 }
예제 #3
0
 public void OnNext(TLeft value)
 {
     lock (parent.gate) {
         parent.leftStarted = true;
         parent.leftValue   = value;
         parent.Publish();
     }
 }