예제 #1
0
            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));
            }
예제 #2
0
 public override void OnPull() => _stage.ExternalCallback(SubSink.RequestOne.Instance);