Akka.Actor.Internal.AbstractStash.ClearStash C# (CSharp) Метод

ClearStash() публичный Метод

Eliminates the contents of the IStash, and returns the previous contents of the messages.
public ClearStash ( ) : IEnumerable
Результат IEnumerable
        public IEnumerable<Envelope> ClearStash()
        {
            if(_theStash.Count == 0)
                return Enumerable.Empty<Envelope>();

            var stashed = _theStash;
            _theStash = new LinkedList<Envelope>();
            return stashed;
        }