Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Aggregate Events firing nonlinearly with ThreadOption.PublisherThread

$
0
0
I'm running into an odd issue where an event is published and the subscriber is set to run on the publisher thread, yet the method to be fired by the subscription isn't the next item processed on that thread.

Not the exact scenario but this is what I'm seeing :

Method A subscribes to event, then calls method B (in different module) to do some work. Method B publishes the event which should then immediately run Method C. But the next line in method B runs prior to code in Method C.

Any ideas why this is executing like it's on an independent thread even when set to publisher?

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>