There is a mysterious property called iscomplete that is found in brokers and I wonder what it does?
It's really pretty simple and not that interesting....
ServiceBroker
uses a BlockingCollection<T>
to handle queuing notifications. When you call .Stop()
on ServiceBroker
it waits for the collection to be completed before returning (so you have a way to wait for all notifications to be sent from the queue before returning).
The IsCompleted
property just exposes the collection's same property. It may or may not be useful to you.