public void OnNext(T value) { lock (parent.gate) { parent.values[index] = value; parent.Publish(index); } }
public void OnNext(TRight value) { lock (parent.gate) { parent.rightStarted = true; parent.rightValue = value; parent.Publish(); } }
public void OnNext(TLeft value) { lock (parent.gate) { parent.leftStarted = true; parent.leftValue = value; parent.Publish(); } }