Exemple #1
0
        internal void BeforeEnqueue()
        {
            if (!IsLocal || _isCloned)
            {
                return;
            }

            if (_messageSerializer.TryClone(Message, out var clone))
            {
                Message = clone;
            }

            _isCloned = true;
        }