public Logic(SubSource <T> stage) : base(stage.Shape) { _stage = stage; SetHandler(stage._out, onPull: () => _stage.ExternalCallback(SubSink.RequestOne.Instance), onDownstreamFinish: () => _stage.ExternalCallback(SubSink.Cancel.Instance)); }
public override void OnPull() => _stage.ExternalCallback(SubSink.RequestOne.Instance);