public void PullValue(NodeDispatcher dispatcher) { if (dispatcher == Source.Dispatcher) { object value; if (!_values.TryTake(out value)) { value = SourcePin.GetValue(); } TargetPin.SetValue(value); } else { TargetPin.SetValue(_values.Take()); } }
public void PushValue() { _values.Add(SourcePin.GetValue()); }