none
Reactive link, Subject Multiple Readers RRS feed

  • Question

  • Hi All,

    I am using Subject class from reactive link library as follows. Is it possible to have multiple readers for the subscribe method. ?

    I could not find any overload which takes number of readers. 

      Subject<BinaryMessage> eventMessage = null;

                    eventMessage
                    .Buffer(TimeSpan.FromMilliseconds(WaitTimeInMilliseconds), bufferWaitNumberOfEvents)
                    .Subscribe(ProcessEvents, e =>
                    {
                        if (exceptionCallback != null)
                            exceptionCallback(e);
                        else
                            Console.WriteLine(e);
                    }
                                                , _cancelSource.Token);

    Thanks




    • Edited by GKS001 Saturday, February 23, 2019 11:22 PM
    Saturday, February 23, 2019 7:58 PM

All replies