void IMessageVisitor.Visit(SetNextMessageDelayMessage message) { }
/// <inheritdoc/> public virtual void Visit(SetNextMessageDelayMessage message) { }
/// <inheritdoc/> public override void Visit(SetNextMessageDelayMessage message) { TimeSpan delay = ScaleDelay(message.Delay); if(delay > TimeSpan.Zero) { Thread.Sleep(delay); } Delayed = true; }