public void Consume(ScheduledMessage message) { _source?.TrySetResult(message); ReceivedMessages.Add(message); }