예제 #1
0
        public void Subscribe <C>(C callback, ISubscription subscription)
            where C : IFlowCallback <TTarget>
        {
            var myCallback = new Callback <C>(callback, subscription, Func);

            Upstream.Subscribe(myCallback, subscription);
        }
예제 #2
0
 public static void Subscribe <X>(this IFlow <X> @this)
 {
     @this.Subscribe(new EmptyFlowCallback <X>(), new Subscription());
 }