What is the reason why in latest RX release I am not able to point the scheduler for Publish() method or for Subject constructor? Any replacements for desired behavior: e.g. using ObserveOn instead?
Thanks in advance.
You can use the static
Subject.Synchronize method to apply a scheduler to a new Subject<T> and then pass the returned subject to the
Multicast method, which is essentially what
Alternatively, you can use Publish followed by ObserveOn, which seems to avoid an additional lock, assuming that the source observable is well-behaved to begin with.
Microsoft 正在进行一项网上调查，以了解您对 Msdn 网站的意见。如果您选择参加，我们将会在您离开 Msdn 网站时向您显示该网上调查。