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

EnqueueFirst() приватный Метод

Enqueues msg at the first position in the mailbox. If the message contained in the envelope is a Terminated message, it will be ensured that it can be re-received by the actor.
private EnqueueFirst ( Envelope msg ) : void
msg Envelope
Результат void
        private void EnqueueFirst(Envelope msg)
        {
            Mailbox.EnqueueFirst(msg);
            var terminatedMessage = msg.Message as Terminated;
            if(terminatedMessage != null)
            {
                _actorCell.TerminatedQueuedFor(terminatedMessage.ActorRef);
            }
        }
    }