public void Consume(SubmissionTested message) { Success = true; Console.WriteLine("SubmissionId: " + message.SubmissionId); Console.WriteLine(message.TestLog); receivedSubmissionResult.Set(); }
public void Consume(SubmissionTested message) { Interlocked.Increment(ref testLogsReceived); if (testLogsReceived >= submissionSentCount) { allTestlogsReceived.Set(); } }