How to detect that all subscribers to an event have responded
问题 I am currently investigating Mass Transit. I have written a simple sample based on the Starbucks sample. I have the following saga: Define(() => { Initially( When(ReportRequest) .Then((saga, message) => saga.ProcessReportRequest(message)) .TransitionTo(WaitingForReportToComplete) ); During(WaitingForReportToComplete, When(ReportComplete) .Then((saga, message) => { Console.WriteLine("Report Complete for '{0}'", saga.Name); saga.CompleteReportRequest(message); }) .Complete() ); }); The problem