public override void Subscribe(SendChannel <Weighted <T> > channel, Task task)
        {
            source1.Subscribe(channel, task);

            var negation = new NegationChannel <T>(channel);

            source2.Subscribe(negation, task);
        }
        public override void Subscribe(SendChannel <Weighted <R> > channel, Task task)
        {
            var selectChannel = new SelectManyChannel <T, R>(channel, selector);

            source1.Subscribe(selectChannel, task);
        }
예제 #3
0
 public override void Subscribe(SendChannel <Weighted <T> > channel, Task task)
 {
     source1.Subscribe(channel, task);
     source2.Subscribe(channel, task);
 }
        public override void Subscribe(SendChannel <Weighted <T> > channel, Task task)
        {
            var whereChannel = new WhereChannel <T>(channel, predicate);

            source1.Subscribe(whereChannel, task);
        }