AspComet.Client.GetMessages C# (CSharp) Method

GetMessages() private method

private GetMessages ( ) : IEnumerable
return IEnumerable
        private IEnumerable<Message> GetMessages()
        {
            while (this.messageQueue.Count > 0)
            {
                yield return this.messageQueue.Dequeue();
            }
        }